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.

Undroidwish – a single-file, batteries-included Tcl/Tk binary for many platforms

https://androwish.org/home/wiki?name=undroidwish
1•smartmic•48s ago•0 comments

SafeSkill – We scanned 10K AI skills for code exploits and prompt injection

https://safeskill.dev
1•oyadoti•1m ago•0 comments

Demolishing the Oldest House in Nevada

https://jonpauluritis.com/articles/demolishing-the-oldest-house-in-nevada/
1•jppope•1m ago•0 comments

Operation Easy Chair

https://en.wikipedia.org/wiki/Operation_Easy_Chair
1•lisper•2m ago•0 comments

I almost drowned in space when my helmet filled with water

https://www.newscientist.com/article/2521138-i-almost-drowned-in-space-when-my-helmet-filled-with...
1•Brajeshwar•5m ago•0 comments

Tell the Model What to Do, Not What to Avoid

https://vexjoy.com/posts/positive-framing-agents-skills/
1•AndyNemmity•7m ago•0 comments

The stay-at-home boyfriend is now an economic trend as more women than men work

https://fortune.com/2026/03/28/men-home-women-workforce-economics-gender-change/
1•drgo•8m ago•0 comments

Storm Response Grid Restoration

https://gridstrong-80d8b8cf.base44.app
1•wesley-Alan•12m ago•0 comments

Ropes: An Alternative to Strings (1995) [pdf]

https://www.cs.tufts.edu/comp/150FP/archive/hans-boehm/ropes.pdf
1•tosh•13m ago•0 comments

EU and CPTPP agree to progress with "historic" digital trade deal, Canada says

https://www.reuters.com/world/americas/eu-cptpp-agree-progress-with-historic-digital-trade-deal-c...
1•vrganj•14m ago•0 comments

Docker Sandboxes

https://docs.docker.com/ai/sandboxes
2•iBelieve•15m ago•0 comments

Wikipedia bans AI-generated content in its online encyclopedia

https://www.theguardian.com/technology/2026/mar/27/wikipedia-bans-ai
1•Brajeshwar•16m ago•0 comments

Show HN_Mnemosyne: A 10^38 Joule Thermodynamic Barrier for Post-Quantum Edge AI

https://www.researchgate.net/profile/Bo-Jun-Han
1•ElyricFandross•18m ago•0 comments

How AI Will Reshape Public Opinion

https://www.conspicuouscognition.com/p/how-ai-will-reshape-public-opinion
1•Anon84•20m ago•0 comments

Stop telling agents what not to do

https://github.com/jwbron/egg/blob/main/docs/design/capability-removal.md
1•jwbron•20m ago•0 comments

What major works of literature were written after age of 85? 75? 65?

https://statmodeling.stat.columbia.edu/2026/03/25/what-major-works-of-literature-were-written-aft...
1•paulpauper•21m ago•0 comments

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

https://www.os2museum.com/wp/learn-something-old-every-day-part-xviii-how-does-fpu-detection-work/
1•kencausey•21m ago•0 comments

The Claim Upon the Training Data

https://www.jonadas.com/writing/essays/the-claim-upon-the-training-data
1•paulpauper•21m ago•0 comments

Seeing Like a Spreadsheet

https://davidoks.blog/p/how-the-spreadsheet-reshaped-america
1•paulpauper•22m ago•0 comments

The First Post-Reality Political Campaign

https://www.theatlantic.com/ideas/2026/03/hungary-first-post-reality-political-campaign/686565/
1•vrganj•23m ago•0 comments

The Explore-Exploit Tradeoff for AI Tools

https://www.normallydistributed.dev/the-explore-exploit-tradeoff-for-ai-tools/
1•jillcates•23m ago•0 comments

rpg.actor Game Jam

https://rpg.actor/jam
2•Kye•24m ago•0 comments

Agents for Security: The Tipping Point for Offensive AI

https://menlovc.com/perspective/agents-for-security-the-tipping-point-for-offensive-ai/
1•tcbrah•24m ago•0 comments

Circuit-level PDP-11/34 emulator

https://github.com/dbrll/ll-34
2•elvis70•27m ago•0 comments

Immich vs. ente photos – the photo backup showdown

https://alexandmanu.com/blog/immich-vs-ente-photos/
1•birdculture•33m ago•0 comments

Microsoft Set for Worst Quarter Since 2008

https://finance.yahoo.com/news/microsoft-set-worst-quarter-since-103556906.html
3•dvfjsdhgfv•36m ago•3 comments

In defense of social friction- Sycophantic AI distorts judgments and behaviors

https://www.science.org/doi/full/10.1126/science.aeg3145
1•tortilla•37m ago•0 comments

Lace Lithography raises $40M to replace chip-making light with helium atoms

https://thenextweb.com/news/lace-lithography-40m-series
2•shaicoleman•43m ago•0 comments

Designing a single-file MMAP-backed read-only hashed multi-table database

https://notes.volution.ro/v1/2026/03/notes/53ac09b0/
2•ciprian_craciun•45m ago•0 comments

Militarized snowflakes: The accidental beauty of Renaissance star forts

https://bigthink.com/strange-maps/star-forts/
16•Brajeshwar•47m ago•0 comments