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.

Switchkraft

https://switchkraft.zone/
1•skogstokig•2m ago•0 comments

Panorama – Review Code, Faster

https://panorama.stagas.deno.net/
1•stagas•2m ago•0 comments

SendIt – browser-based file/text transfer tool

https://trysendit.app/
1•GrandpaCereal•3m ago•1 comments

Future of AI-Facilitated Medicine

https://www.amacad.org/publication/daedalus/future-ai-facilitated-medicine
1•dnw•7m ago•0 comments

Luminous: Rust Based Image Viewer

https://github.com/jaroslavszkandera/luminous
1•unk_•9m ago•0 comments

Capital and the Debt Trap

https://en.wikipedia.org/wiki/Capital_and_the_Debt_Trap
2•teleforce•9m ago•0 comments

Gas prices drive Georgia man to create a "mini car" costing $3 to fill up [video]

https://www.youtube.com/watch?v=c-QNFxkWktY
2•nxobject•15m ago•0 comments

Four Russian satellites are now within striking distance of an ICEYE radarsat

https://arstechnica.com/space/2026/05/a-satellite-company-supporting-ukraine-appears-to-be-in-rus...
5•fghorow•19m ago•0 comments

The Silent Merge Queue Corruption That Hit 658 GitHub Repos

https://failure-modes.dev/library/fm-029
2•birdculture•20m ago•0 comments

Are we overthinking post-quantum cryptography? (2025)

https://neilmadden.blog/2025/06/20/are-we-overthinking-post-quantum-cryptography/
1•mooreds•23m ago•0 comments

Chip design from the bottom up – Reiner Pope [video]

https://www.youtube.com/watch?v=oIk3R-sMX5o
1•matt_d•24m ago•0 comments

I used $30,983 of AI tokens last month in Claude Code on $200/mo plan

https://www.indiehackers.com/post/i-used-30-983-of-ai-tokens-last-month-in-claude-code-on-200-mo-...
5•khadinakbar•24m ago•1 comments

Megalodon chums the waters in 5.5K+ GitHub repo poisonings

https://www.theregister.com/security/2026/05/22/megalodon-chums-the-waters-in-55k-github-repo-poi...
4•sbulaev•28m ago•1 comments

remembering s. “soma” somasegar

https://www.geekwire.com/2026/s-soma-somasegar-1966-2026-microsoft-and-madrona-leader-was-a-champ...
1•brajendra119022•31m ago•0 comments

RFC Index

https://www.ietf.org/rfc/rfc-index.txt
1•1vuio0pswjnm7•34m ago•0 comments

Why We've Filed a Referendum

https://www.stopstratos.org
3•mrwaffle•35m ago•0 comments

Don't just paste the AI at me

https://dontquotetheai.com/
4•khaosdoctor•38m ago•0 comments

CypherLoc, an advanced browser-locking scareware targeting millions

https://blog.barracuda.com/2026/05/20/threat-spotlight-cypherloc-scareware
2•croes•41m ago•0 comments

Did Google's AI agents build an operating system for $916?

https://www.normaltech.ai/p/did-googles-ai-agents-really-build
4•randomwalker•46m ago•0 comments

AI and doctrinal collapse

https://www.stanfordlawreview.org/print/article/ai-and-doctrinal-collapse/
1•hhs•49m ago•0 comments

Jailbroken Gemini helped Russian-speaking fraudster target MAGA crypto users

https://www.theregister.com/cyber-crime/2026/05/22/jailbroken-gemini-helped-russian-speaking-frau...
2•lschueller•51m ago•0 comments

Who's to Blame When an Ivy League President Drives into His Students?

https://www.theringer.com/2026/05/22/national-affairs/cornell-car-scandal-president-michael-kotli...
6•hn_acker•52m ago•2 comments

Show HN: BonzAI – self-sovereign, local LLM inference in the browser

https://www.bonzai.sh/
1•wilhempujar•52m ago•0 comments

Show HN: Logatory – local-first log analysis and threat detection, no SIEM

https://github.com/T0nd3/logatory
1•T0nd3•52m ago•0 comments

Bug 1950764: Work Around Crash on Intel Raptor Lake CPU

https://phabricator.services.mozilla.com/D301917
1•luu•53m ago•0 comments

MCP-safeguard: Automated security scanner for MCP servers (52 detection rules)

https://github.com/SyedAnas01/mcp-safeguard
1•Anas1371•54m ago•0 comments

Ford Enters Battery Storage Business

https://www.fromtheroad.ford.com/us/en/articles/2026/introducing-ford-energy
2•foxfired•54m ago•0 comments

Dehydration's role in learning and memory

https://www.cshl.edu/dehydrations-role-in-learning-and-memory/
2•hhs•58m ago•0 comments

High-Volume VRP Optimization at Amazon Scale on a Raspberry Pi 400

https://medium.com/@martinvizzolini/i-ran-the-amazon-last-mile-routing-challenge-on-a-raspberry-p...
1•pantherolive•59m ago•0 comments

Uber, Meta hinder users’ ability to control data, study says

https://news.bloomberglaw.com/privacy-and-data-security/uber-meta-make-it-hard-for-users-to-stop-...
1•hhs•1h ago•0 comments