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•1y ago

Comments

solarmist•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
Why? Will the new Nvidia Python stuff work on AMD GPU and other non-nvidia accelerators?
pjmlp•1y 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•1y 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•1y ago
That is already taking place with work graphs, and making shader languages more C++ like.
ttoinou•1y ago
Seems like with it you will be able to compile and execute one code on multiple GPU targets though
ashvardanian•1y ago
There is a "hush-hush open secret" between minutes 31 and 33 of the video :)
refulgentis•1y ago
TL;Dr same binary runs on Nvidia and ATI today, but not announced yet
throwaway314155•1y ago
They desperately need to disable whatever noise cancellation they're using on the audio. Keeps cutting out, sounds terrible.
solarmist•1y ago
Yeah, the mic quality was terrible.
hogepodge•1y 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•1y 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•1y ago
This is covered by ARM which they consider CPU, and doesn’t fall into that clause. IOW no restrictions.

Gardeners often hear about supposed hacks and quick fix. Here are some debunked

https://apnews.com/article/gardening-myths-vinegar-tilling-watering-c07faf7472e7a2dc40d3886b94f1b508
1•rawgabbit•1m ago•0 comments

Dubious Chinese Carbon Projects Expose Depth of European Market's Flaws

https://www.bloomberg.com/graphics/2026-europe-china-dubious-carbon-credits/
1•RestlessMind•3m ago•0 comments

TypeScript's number type is a lie

https://bluepnume.medium.com/typescripts-number-type-is-a-lie-6b3b10dd8f54
1•bluepnume•13m ago•0 comments

Scientists say they've reversed brain aging with a simple nasal spray

https://www.sciencedaily.com/releases/2026/05/260526022018.htm
4•bookmtn•16m ago•0 comments

A 3D Lattice Boltzmann solver with 200x compute acceleration

https://frontend-seven-delta-66.vercel.app/
1•kauai1•26m ago•0 comments

Ask HN: Would you buy a TRON: legacy neon line clothes?

1•alonsovm44•30m ago•2 comments

Hacker Dojo

https://en.wikipedia.org/wiki/Hacker_Dojo
1•Austin_Conlon•32m ago•0 comments

Apple, Google push for judicial oversight in Canada online safety bill

https://www.reuters.com/legal/litigation/apple-google-push-judicial-oversight-canada-online-safet...
1•Cider9986•37m ago•0 comments

Paxton Wins Texas Republican Primary After Trump Endorsement

https://www.reuters.com/world/us/cornyn-fights-political-life-against-trump-endorsed-paxton-texas...
3•Cider9986•38m ago•0 comments

Book the lakehouse – A beautiful OSS booking calendar for holiday homes

https://github.com/shrimbly/book-the-lakehouse
1•falloon•39m ago•0 comments

Mined in America Act Would Put Bitcoin Network at Risk

https://www.therage.co/mined-in-america-act-bitcoin-at-risk/
3•Cider9986•42m ago•0 comments

New Class of Gaming Systems (Hardware): Imagination Based Gaming [video]

https://www.youtube.com/shorts/TU0SFNk0hg0
2•AleBog•47m ago•1 comments

AV2 codec may be finalized on May 29

https://videocardz.com/newz/av2-codec-may-be-finalized-on-may-29
1•rguiscard•48m ago•0 comments

Effect of Vitamin D2 Supplementation on 25-Hydroxyvitamin D3 Status

https://academic.oup.com/nutritionreviews/advance-article/doi/10.1093/nutrit/nuaf166/8256613
1•bookofjoe•50m ago•0 comments

Webwright: A Terminal Is All You Need for Web Agents

https://www.microsoft.com/en-us/research/articles/webwright-a-terminal-is-all-you-need-for-web-ag...
1•carlual•52m ago•0 comments

Alberta Separatism

https://en.wikipedia.org/wiki/Alberta_separatism
2•lisper•53m ago•0 comments

"my battery is low and it's getting dark" – were never sent from Mars

https://spacedaily.com/b-the-opportunity-rovers-famous-last-words-my-battery-is-low-and-its-getti...
2•wglb•54m ago•0 comments

So, Where Does Next-Token Prediction Leave Us?

https://pop.rdi.sh/where-does-next-token-prediction-leave-us/
2•0x5FC3•57m ago•0 comments

Tunecat: Simple Internet Radio

https://codeberg.org/lindenii/tunecat/
3•croottree•1h ago•0 comments

Trump Administration to Send Americans Exposed to Ebola to Kenya

https://www.nytimes.com/2026/05/26/us/politics/trump-ebola-kenya.html
7•osnium123•1h ago•5 comments

Netherlands blocked US company from buying provider of Dutch digital identity

https://thenextweb.com/news/the-netherlands-just-blocked-a-us-company-from-buying-the-cloud-provi...
3•rguiscard•1h ago•1 comments

Aurora DSQL and the Circle of Life

https://marc-bowes.com/dsql-circle-of-life.html
1•croottree•1h ago•0 comments

Ian's Shoelace Site

https://www.fieggen.com/shoelace/index.htm
3•jmague•1h ago•2 comments

Add your vision and values for earth and see others'

https://wherearewegoing.earth
1•kevinshah•1h ago•0 comments

Show HN: Windows 8 inspired transfer speed graph

https://speed-transfer.arijs.org/
1•rhengles•1h ago•0 comments

Show HN: Hyper, the self driving company brain

https://heyhyper.ai/
1•shainvs•1h ago•0 comments

Kanban Bowl – A lightweight Kanban board inside VS Code

https://github.com/yannickboog/kanban-bowl
1•Schaefle•1h ago•0 comments

Stripe is friendly to "friendly fraud"

https://www.gingerlime.com/2026/stripe-seem-friendly-to-friendly-fraud/
70•gingerlime•1h ago•20 comments

Using SwiftUI to Build a Mac-Assed App in 2026

https://pfandrade.me/blog/mac-assed-swiftui-app/
1•birdculture•1h ago•0 comments

Notable Properties of Specific Numbers

http://www.mrob.com/pub/math/numbers-19.html
2•rolph•1h ago•0 comments