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.

Good news, we have extra time before the Sun ends life on Earth

https://arstechnica.com/science/2026/06/good-news-we-have-extra-time-before-the-sun-ends-life-on-...
1•Bender•37s ago•0 comments

I built open child-support calculators for 7 states, then found my own bugs

https://csg.tcblaw.org/
1•tcbmem•59s ago•0 comments

German Air Force chief names Russian targets NATO would hit in a war

https://www.yacnews.com/german-air-force-chief-names-russian-targets-nato-would-hit-in-a-war/
1•ortr•2m ago•0 comments

Russian attacks set fire to the 1000 year old Dormition Cathedral

https://www.yacnews.com/russian-attacks-set-fire-to-the-1-000-year-old-dormition-cathedral-at-kyi...
1•ortr•2m ago•0 comments

Show HN: Offline AI assistant for Android (PDFs, Wikipedia, more)

https://github.com/geograms/eva
1•nunobrito•4m ago•0 comments

First Steps Toward Automated AI Research

https://www.recursive.com/articles/first-steps-toward-automated-ai-research
1•gmays•5m ago•0 comments

Show HN: AI traders you author, argue with and coach

https://degen.strayforge.com
1•litlig•7m ago•0 comments

IBM and Norway's sovereign fund CEO: Is AI a bubble?

https://www.youtube.com/watch?v=IxqrSXiRja4
1•pandoro•7m ago•1 comments

The APLR(1) Algorithm Is Simpler and More Capable Than IELR(1)

https://branchtaken.com/reports/aplr1/aplr1
2•jasone•7m ago•0 comments

Did a medieval flying monk spot Halley's comet, twice? It's complicated

https://arstechnica.com/science/2026/06/did-a-medieval-flying-monk-spot-halleys-comet-twice-its-c...
1•Brajeshwar•8m ago•0 comments

Detecting and Steering Sycophancy in Qwen

https://palashtaneja.com/blog/posts/detecting-and-steering-sycophancy-in-qwen.html
1•737max•8m ago•0 comments

How the UK social media ban could affect you

https://www.bbc.com/newsround/articles/c802ypdxm4po
1•DropDead•9m ago•1 comments

We are living in the dial-up era of AI

https://www.xydac.com/blog/dial-up-era-of-ai/
1•xydac•9m ago•0 comments

Immutability Changes Everything (2016) [pdf]

https://www.cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf
1•let_rec•9m ago•0 comments

Show HN: I turned the Lex Fridman podcast archive into a browsable idea map

https://tlexdr.com/discover
1•bwdey•10m ago•0 comments

US says Trump, Vance and Iran's parliament speaker have signed deal to end war

https://www.reuters.com/world/iran-war-live-trump-says-us-tehran-have-reached-peace-deal-2026-06-15/
1•ktm5j•11m ago•1 comments

How to Measure WWDC

https://asymco.com/2026/06/08/how-to-measure-wwdc/
1•ndr42•11m ago•0 comments

Marc Andreessen on X: "SpaceX and the Sentient Sun " / X

https://twitter.com/pmarca/status/2066523671456579828
1•bilsbie•12m ago•0 comments

Is This the End of Political Islam?

https://www.nytimes.com/2026/06/15/magazine/political-islam-middle-east.html
1•JumpCrisscross•14m ago•1 comments

Mathematicians use Lean to verify proofs, whats the equivalent for patent claims

https://fearn.ai/newsletter/building-formalization-infrastructure-for-patents
1•marclave•14m ago•0 comments

Protect an MCP Server with an Authorization Server

https://fusionauth.io/blog/mcp-authorization-server
1•mooreds•15m ago•0 comments

Terraform Registry Is Down

https://status.hashicorp.com/incidents/01KV60Z6KMP2TGHVJYC87MK4CM
2•tellnes•15m ago•0 comments

Show HN: 0-0.io – Multiplayer browser football with server-authoritative physics

https://0-0.io/
1•mgc8•16m ago•0 comments

Patched Claude Code, now 2–8× faster ultracode workflow execution

https://github.com/Functio-AI/claude-go-brr
2•guidotrev•16m ago•2 comments

OpenAI wins dismissal of trade secret lawsuit by Musk's xAI

https://www.reuters.com/legal/litigation/openai-wins-dismissal-trade-secret-lawsuit-by-musks-xai-...
1•JumpCrisscross•17m ago•0 comments

Building an AI skill marketplace for GTM teams

https://newsletter.gtmengineering.ai/p/why-every-gtm-org-will-need-ai-skill
2•alexjl1226•21m ago•0 comments

Show HN: I built an open-source financial research terminal (SEC data and SQL)

https://terminal.tesseractanalytics.ai/gate
1•tessbi•22m ago•0 comments

EA Advertising

https://www.ea.com/ea-advertising
2•molenzwiebel•24m ago•1 comments

Claude Debugs a Postgres Alarm: Multixacts, SLRU Caches, and a False Crisis

https://www.arthur.ai/blog/ai-sre-debugs-postgres-io-spike
5•ianmcgraw•24m ago•0 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
4•tinywind•26m ago•1 comments