frontpage.
newsnewestaskshowjobs

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.

UK regulator warns of "arms race" to keep up with AI use in financial services

https://arstechnica.com/ai/2026/07/uk-regulator-warns-of-arms-race-to-keep-up-with-ai-use-in-fina...
2•secret_hawk_25•54s ago•0 comments

They got something on the screen

https://graybeard.ing/they-got-something-on-the-screen/
1•rglover•1m ago•0 comments

How to design a cancer vaccine (and vastly improve them)

https://www.owlposting.com/p/how-to-design-a-cancer-vaccine-and
1•crescit_eundo•1m ago•0 comments

GAN Lateral Superjunction Schottky Diode

https://www.powerelectronicsnews.com/gan-lateral-superjunction-schottky-diode/
1•stmw•3m ago•1 comments

Ask HN: I use coding agents daily, but how do real engineers use them?

1•getlawgdon•5m ago•0 comments

Help Web Attackers Self Report

https://nochan.net/b/Internet-Crap/20260524-Help-Attackers-Self-Report/
1•Bender•5m ago•1 comments

Show HN: Built a Website for People Who Miss the Old Web

https://www.dailicle.com/
1•lucky-solanki•6m ago•0 comments

HTML vs. JSON for LLMs: the format was a wash, the strategy was everything

https://www.lightningjar.com/blog/barkup-bench-results
1•kevinpeckham•9m ago•0 comments

How Google and AI Nearly Made a Seasoned Reporter Spiral

https://www.propublica.org/article/google-ai-reporting
1•Jimmc414•9m ago•0 comments

Loop Engineering: Design the Loop, or Be the Loop

https://clairetsao.substack.com/p/loop-engineering-design-the-loop
1•missmoss•9m ago•0 comments

AI Rocky from 'Project Hail Mary'

https://www.raspberrypi.com/news/ai-rocky-from-project-hail-mary/
1•Brajeshwar•9m ago•0 comments

Kani: A Model Checker for Rust

https://arxiv.org/abs/2607.01504
2•Jimmc414•10m ago•0 comments

Low-Background Steel

https://en.wikipedia.org/wiki/Low-background_steel
5•mh-cx•11m ago•0 comments

What security checks should an AI-built SaaS run before launch?

https://preflightio.com
1•continium•12m ago•0 comments

Kars – treat every AI agent as untrusted code, on Kubernetes

https://github.com/Azure/kars
1•pallakatos•12m ago•0 comments

Check out this new fitness app

https://gymia.fit
1•user2121•13m ago•0 comments

Designing z-order terminology in 2d space

https://meetzaveri.medium.com/designing-z-order-terminology-for-craftbase-a-whiteboard-app-in-2d-...
1•meet_zaveri•16m ago•1 comments

Teaching the New Loop

https://freesystems.substack.com/p/teaching-the-new-loop
1•paulpauper•16m ago•0 comments

Life with Hazard Ratios

https://dynomight.net/hazard-ratios/
1•surprisetalk•17m ago•0 comments

The AI Superforecasters Are Here

https://www.astralcodexten.com/p/the-ai-superforecasters-are-here
2•surprisetalk•18m ago•0 comments

Should DayQuil Be Legal?

https://www.theargumentmag.com/p/should-dayquil-be-legal
5•paulpauper•18m ago•0 comments

Will California's Wealth Tax Raise $100B or Lose $25B?

https://everywheremillionaire.substack.com/p/will-californias-wealth-tax-raise
2•paulpauper•19m ago•0 comments

Whimsy and the Literacy Crisis [video]

https://www.youtube.com/watch?v=CkBgnfn9Y7g
1•natebc•23m ago•1 comments

There's a Good Reason You Can't Concentrate

https://www.nytimes.com/2026/03/27/opinion/technology-mental-fitness-cognitive.html
2•zeroonetwothree•23m ago•0 comments

Startup bets that investors want to trade compute like a commodity

https://www.axios.com/2026/07/06/ornn-gpu-compute-commodity
1•Brajeshwar•23m ago•0 comments

Meko Is Open for Self Sign-Up

https://www.yugabyte.com/blog/meko-self-sign-up-get-started/
2•3littlefish•23m ago•1 comments

Microsoft says it is ramping up its quantum computing security work

https://www.techradar.com/pro/security/advances-in-quantum-research-and-development-have-shifted-...
1•mooreds•25m ago•1 comments

An Interview with Eve Maler

https://ciamweekly.substack.com/p/an-interview-with-eve-maler
1•mooreds•25m ago•0 comments

Writing Node.js Addons with .NET Native AOT

https://devblogs.microsoft.com/dotnet/writing-nodejs-addons-with-dotnet-native-aot/
1•birdculture•25m ago•0 comments

Trump intervention causes World Cup storm as FIFA clears US striker Balogun

https://www.reuters.com/sports/soccer/trump-intervention-sparks-world-cup-storm-fifa-clears-balog...
3•kleiba2•26m ago•2 comments