frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Next-Gen GPU Programming: Hands-On with Mojo and Max Modular HQ

https://www.youtube.com/live/uul6hZ5NXC8?si=mKxZJy2xAD-rOc3g
44•solarmist•11mo ago

Comments

solarmist•11mo ago
I'm really hoping Modular.ai takes off. GPU programming seems like a nightmare, I'm not surprised they felt the need to build an entire new language to tackle that bog.
mirsadm•11mo ago
GPU programming isn't really that bad. I am a bit skeptical this is the way to solve it. The issue is that details do matter when you're writing stuff on the GPU. How much shared memory are you using? How is it scheduled? Is it better to inline or run multiple passes etc. Halide is the closest I think.
solarmist•11mo ago
What are you skeptical of? I believe the problem this is solving is a framework that's not CUDA that allows low level access to the hardware, makes it easy to write kernels, and is not Nvidia only. If you watch the video you can write directly in asm if you need to. You have full control if you want it. But it provides primitives and higher level objects that handle common cases.

I'm a novice in the area, but Chris is well respected in this area and cares a lot of about performance.

pjmlp•11mo ago
There are already plenty of languages in CUDA world, that is one reasons it is favoured.

The problem isn't the language, rather how to design the data structures and algorithms for GPUs.

solarmist•11mo ago
Not sure I fully understand your comment, but I'm pretty sure the talk addresses exactly that.

The primitives and pre-coded kernels provided by CUDA (it solves for the most common scenarios first and foremost) is what's holding things back and in order to get those algorithms and data structures down to the hardware level you need something flexible that can talk directly to the hardware.

pjmlp•11mo ago
C, C++, Fortran, Python JIT from NVidia, plus Haskell, .NET, Java, Futuhark, Julia from third parties, and anything else that can bother to create a backend targeting PTX, NVVM IR, or now cuTile.

The pre-coded kernels help a lot, but you don't have to use them necessarly.

melodyogonna•11mo ago
Yes, the problem isn't language, it is the entire stack. I think people focus too much on Mojo while ignoring the actual solution Modular has built, which is MAX. The main idea here is that MAX provides a consistent API for both library authors (e.g vLLM, Ollama) to target, as well as for hardware vendors to integrate with - so similar to LLVM.

Basically, imagine if you can target Cuda, but you don't have to do too much for your inference to also work on other GPU Vendors e.g AMD, Intel, Apple. All with performance matching or surpassing what the hardware vendors themselves can come up with.

Mojo comes into the picture because you can program Max with it, create custom kernels that is JIT compiled to the right vendor code at rumtime.

diabllicseagull•11mo ago
It is a noble cause. I've spent ten years of my life using CUDA professionally, outside the AI domain mind you. Most of these years, there was a strong desire to break off of CUDA and the associated Nvidia tax on our customers. But one thing we didn't want was to move from depending on CUDA to depending on another intermediary which would also mean financial drain, like the enterprise licensing these folks want to use. Sadly, open source alternatives weren't fostering much confidence, either with their limited feature coverage or just not knowing if they will be supported in the long term (support for new hardware, fixes, etc.).
pjmlp•11mo ago
Also while as language nerd I find Mojo cool, given NVidia's going full speed ahead with Python support in CUDA as announced at GTC 2025, to the point of designing a new IR as basis for their JIT, very few researchers will bother with Mojo.

Also what NVIDIA is doing has full Windows support, while Mojo support still isn't there, other than having to make use of WSL.

melodyogonna•11mo ago
Why? Will the new Nvidia Python stuff work on AMD GPU and other non-nvidia accelerators?
pjmlp•11mo ago
It still remains to be seen how much that will happen to Mojo and MAX, while most researchers are using CUDA anyway, and best of all, it works on their laptops, which cannot be said for AMD GPU and other non-nvidia accelerators.

Naturally assuming they are using laptops with NVidia GPUs.

catapart•11mo ago
My mistake completely, but I thought this was going to be something to do with a new scheme or re-thinking of graphics programming APIs, like Metal, Vulkan or OpenGL. Now I'm kind of bummed that it is what it is, because I got really excited for it to be that other thing. =(
pjmlp•11mo ago
That is already taking place with work graphs, and making shader languages more C++ like.
ttoinou•11mo ago
Seems like with it you will be able to compile and execute one code on multiple GPU targets though
ashvardanian•11mo ago
There is a "hush-hush open secret" between minutes 31 and 33 of the video :)
refulgentis•11mo ago
TL;Dr same binary runs on Nvidia and ATI today, but not announced yet
throwaway314155•11mo ago
They desperately need to disable whatever noise cancellation they're using on the audio. Keeps cutting out, sounds terrible.
solarmist•11mo ago
Yeah, the mic quality was terrible.
hogepodge•11mo ago
This was the first time we ran an event in the office with this wireless mic setup. We're definitely aware of the problems, and will have them fixed for the next event.
Archit3ch•11mo ago
> Other Accelerators (e.g. Apple Silicon GPUs): free for <= 8 devices

From their license.

It's not obvious what happens when you have >8 users, with one GPU each (typical laptop users).

threecheese•11mo ago
This is covered by ARM which they consider CPU, and doesn’t fall into that clause. IOW no restrictions.

A guide to Io_uring

https://nick-black.com/dankwiki/index.php?title=Io_uring
1•teleforce•2m ago•0 comments

Show HN: Cairn CLI: The Machine Interface

https://backpac.xyz/cairn-cli
1•allynjalford•3m ago•0 comments

Show HN: AI for Your Team

https://jitera.com/
1•everlier•3m ago•0 comments

NumPy as Synth Engine

https://kennethreitz.org/essays/2026-03-29-numpy_as_synth_engine
1•birdculture•4m ago•0 comments

Hank Green: What is "Slop" (and why it gives me hope) [video]

https://www.youtube.com/watch?v=dT5IJExTUR4
1•DrewADesign•4m ago•0 comments

An introduction to the io_uring asynchronous I/O framework (2020)

https://blogs.oracle.com/linux/an-introduction-to-the-io-uring-asynchronous-io-framework
1•teleforce•6m ago•0 comments

Freedom Studio – local AI runner with Tor, E2E encryption, and zero telemetry

https://github.com/albertotijunelis/freedom-studio
1•Tijunelis•9m ago•0 comments

Exo: Claude Code for your Inbox

https://github.com/ankitvgupta/mail-app
1•jshchnz•10m ago•1 comments

d-HNSW: A High-Performance Vector Search Engine on Disaggregated Memory

https://arxiv.org/abs/2603.13591
1•tanelpoder•11m ago•0 comments

What's New in Flutter 3.41

https://blog.flutter.dev/whats-new-in-flutter-3-41-302ec140e632
1•doctaj•12m ago•0 comments

Show HN: I built a Bitcoin signing device where the private key is physical

https://frozensecurity.com/
1•frozensecurity•14m ago•0 comments

Add Spaces to the Dock on macOS

https://practicalbetterments.com/add-spaces-to-the-dock-on-mac-os/
1•DitheringIdiot•14m ago•1 comments

Show HN: An Interactive Text to SQL Agent Benchmark

https://sql-benchmark.nicklothian.com/
1•nl•16m ago•0 comments

A Nursing Home Owner Got a Pardon. The Families of His Patients Got Nothing

https://www.propublica.org/article/joseph-schwartz-trump-pardon-skyline-nursing-home-patients
1•Jimmc414•18m ago•0 comments

Ubuntu 26.04 Showing Nice Gains over Ubuntu 25.10 on AMD Ryzen 9000 Series

https://www.phoronix.com/review/ubuntu-2510-2604-zen5
1•teleforce•18m ago•0 comments

Pi: Another AI agent toolkit, but this one is interesting

https://github.com/badlogic/pi-mono
2•modinfo•19m ago•1 comments

There may be 10 times as many citizen scientists in Australia as we thought

https://theconversation.com/there-may-be-10-times-as-many-citizen-scientists-in-australia-as-we-t...
2•defrost•20m ago•0 comments

Polymarket

https://en.wikipedia.org/wiki/Polymarket
2•DyslexicAtheist•24m ago•1 comments

Ask HN: Does anyone else notice that gas runs out faster than usual

1•cat-turner•25m ago•2 comments

The Texas Lawyer and Part-Time Pastor Who Beat Meta and Google

https://www.wsj.com/us-news/law/the-texas-lawyer-and-part-time-pastor-who-beat-meta-and-google-82...
1•tolerance•30m ago•0 comments

ASML plans 1,700 job cuts as it restructures teams

https://www.techinasia.com/news/asml-plans-1700-job-cuts-as-it-restructures-teams
1•markus_zhang•31m ago•0 comments

The Blackwall Between Your AI Agent and Your Filesystem

https://www.wshoffner.dev/blog/greywall
2•ticktockbent•33m ago•0 comments

Boltcli – Bolt Food orders from the terminal (reverse-engineered API)

https://github.com/Lukynnnn/boltcli
1•Lukynnnn•35m ago•0 comments

PostMac – AI-native development, trunk-based Git, 12-factor philosophy

https://github.com/tdsanchez/PostMac
1•tdsanchez•37m ago•1 comments

Bob Dylan's AI "Lectures from the Grave" Review: An Accidental Warning

https://consequence.net/2026/03/bob-dylan-ai-lectures-from-the-grave-review/
1•coloneltcb•43m ago•0 comments

Error messages are an underrated part of agent experience

https://www.knut.fyi/blog/2026-03-30/agentic-developer-experience-starts-with-your-system
2•jeffinpdx•43m ago•1 comments

Ask HN: Anyone getting random quotes from U-Haul while their website is down?

1•phyzix5761•43m ago•0 comments

iOS 26.4 Autocorrect Updates

https://www.wsj.com/tech/apple-iphone-autocorrect-update-7659d618
2•daviesgeek•46m ago•0 comments

Show HN: HackerOne Silent-Patched My Critical BOLA and Banned Me

https://github.com/guardiankali/HackerOne-Silent-Patch-Exposed/blob/main/Critical.README.md
2•Salamalto•47m ago•0 comments

The Nginx default page hides 5 clues that lead to same 24-word BIP39 mnemonic

https://bip39-recast.pages.dev/wwwroot/
2•imcotton•48m ago•0 comments