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•12mo ago

Comments

solarmist•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo 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•12mo ago
That is already taking place with work graphs, and making shader languages more C++ like.
ttoinou•12mo ago
Seems like with it you will be able to compile and execute one code on multiple GPU targets though
ashvardanian•12mo ago
There is a "hush-hush open secret" between minutes 31 and 33 of the video :)
refulgentis•12mo ago
TL;Dr same binary runs on Nvidia and ATI today, but not announced yet
throwaway314155•12mo ago
They desperately need to disable whatever noise cancellation they're using on the audio. Keeps cutting out, sounds terrible.
solarmist•12mo 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•12mo 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.

Technological Phylogenetics: Modeling Tech Evolution Like Git (Paper)

https://zenodo.org/records/19673425
1•xsytrance•1m ago•1 comments

What Does a VPN Protect You From

https://anonymous-proxies.net/posts/what-does-a-vpn-protect-you-from/
1•sabrinacarpen•1m ago•0 comments

Show HN: Real-time visualization of Claude Code agent orchestration

https://github.com/patoles/agent-flow
1•daco•2m ago•0 comments

Show HN: NeuG – High-performance Embedded graph DB, one line to serve

1•robeenly•4m ago•0 comments

Front End Is Edge Computing

https://edge.jmaleonard.com/01-frontend-is-edge-computing.html
1•jmaleonard•4m ago•0 comments

Show HN: Weekly Log, Old-school journaling social media

1•bobbies-treats•5m ago•0 comments

Bad Matrix Reloaded

https://flandrew.srht.site/listful/bad-matrix-reloaded.html
1•adityaathalye•6m ago•0 comments

How the Heck Does Shazam Work?

https://perthirtysix.com/how-the-heck-does-shazam-work
3•thunderbong•11m ago•1 comments

Mruby 4.0.0 Released

https://mruby.org/releases/2026/04/20/mruby-4.0.0-released.html
2•rguiscard•18m ago•0 comments

FreeBSD CVE-2026-4747 Log Suggests Mythos Is a Marketing Trick

https://www.flyingpenguin.com/freebsd-cve-2026-4747-log-suggests-mythos-is-a-marketing-trick/
3•jgalt212•20m ago•0 comments

Prediction markets are breaking the news and becoming their own beat

https://www.niemanlab.org/2026/04/prediction-markets-are-breaking-the-news-and-becoming-their-own...
1•gnabgib•21m ago•0 comments

Computational Models of Interoception and Body Regulation(2021)

https://www.sciencedirect.com/science/article/abs/pii/S0166223620302204
1•rolph•24m ago•0 comments

Qwen3.6-35B-A3B speculative decoding is net-negative on RTX 3090

https://github.com/thc1006/qwen3.6-speculative-decoding-rtx3090
3•thc1006•24m ago•1 comments

The US and Europe are still stronger together

https://www.ft.com/content/e4c9ee6e-5db5-436f-9b14-a625b9a77145
1•petethomas•24m ago•0 comments

David Rumsey Map Collection

https://www.davidrumsey.com/
2•alschwalm•28m ago•0 comments

Russian economy is faltering despite oil windfall, Sweden warns

https://www.ft.com/content/04a9d05d-2502-44d4-b7e0-041aaa4f83cd
4•doener•36m ago•0 comments

Ask HN: Has AWS Support fallen off?

1•frenchtoast8•36m ago•1 comments

I built loan software after my spreadsheets diverged into chaos

https://lendsolo.com/
1•psidereas•38m ago•0 comments

Quirky Electric Car Rides the Rails

https://hackaday.com/2026/04/19/quirky-electric-car-rides-the-rails/
4•lxm•40m ago•0 comments

Ukraine, Short on Troops, Is Turning to Robots to Help Its War Efforts

https://www.nytimes.com/2026/04/20/world/europe/ukraine-russia-war-robots-drones.html
3•lxm•41m ago•1 comments

Wallet Ecosystem for Business and Payments (EU)

https://www.webuildconsortium.eu/
1•bjornroberg•41m ago•1 comments

The Surveillance Accountability Act

https://www.surveillanceaccountability.com
1•cdrnsf•43m ago•0 comments

The Onion to Take over InfoWars

https://www.nytimes.com/2026/04/20/business/infowars-alex-jones-the-onion.html
1•lxm•44m ago•0 comments

Did Fortnite Ever Exist?

https://orbispatches.com/gaming-faq/did-fortnite-ever-exist
2•rolph•48m ago•0 comments

That was Tim, this is Ternus: Some first thoughts on Apple's CEO transition

https://sixcolors.com/post/2026/04/that-was-tim-this-is-ternus-some-first-thoughts-on-apples-ceo-...
2•tambourine_man•55m ago•0 comments

JetBlue Responds to Accusations of Using Surveillance Pricing After Viral Tweet

https://gizmodo.com/jetblue-responds-to-accusations-of-using-surveillance-pricing-after-viral-twe...
1•c420•1h ago•0 comments

OpenSecurityTraining2: Learning Paths

https://www.ost2.fyi/Learning-Paths.html
1•2bluesc•1h ago•0 comments

Giant Mac mini cluster powers Overcast podcast transcripts without the cloud

https://appleinsider.com/articles/26/04/07/giant-mac-mini-cluster-powers-overcast-podcast-transcr...
3•brigham•1h ago•0 comments

Climate Caused the US Civil War

https://unchartedterritories.tomaspueyo.com/p/climate-caused-the-us-civil-war
2•gmays•1h ago•3 comments

Journey to the Heart of the Techno-Barbarism Machine

https://calexandersmith.substack.com/p/in-the-claws-of-the-machine
2•indigodaddy•1h ago•0 comments