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

Comments

solarmist•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Why? Will the new Nvidia Python stuff work on AMD GPU and other non-nvidia accelerators?
pjmlp•9mo 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•9mo 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•9mo ago
That is already taking place with work graphs, and making shader languages more C++ like.
ttoinou•9mo ago
Seems like with it you will be able to compile and execute one code on multiple GPU targets though
ashvardanian•9mo ago
There is a "hush-hush open secret" between minutes 31 and 33 of the video :)
refulgentis•9mo ago
TL;Dr same binary runs on Nvidia and ATI today, but not announced yet
throwaway314155•9mo ago
They desperately need to disable whatever noise cancellation they're using on the audio. Keeps cutting out, sounds terrible.
solarmist•9mo ago
Yeah, the mic quality was terrible.
hogepodge•9mo 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•9mo 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•9mo ago
This is covered by ARM which they consider CPU, and doesn’t fall into that clause. IOW no restrictions.

Rethinking Helix

https://asta.boserup.eu/forest/rethinking-helix/
1•birdculture•1m ago•0 comments

An unlike source of crypto innovation: Afghanistan

https://www.nytimes.com/2026/01/24/world/asia/crypto-innovation-afghanistan.html
1•japaget•2m ago•0 comments

Grokking

https://en.wikipedia.org/wiki/Grokking_(machine_learning)
1•tarbyqualia•4m ago•0 comments

Show HN: Witral: Self-hosted framework to ingest WhatsApp into Markdown/Obsidian

https://github.com/kirlts/witral
1•kirlts•6m ago•0 comments

Ask HN: Have we confused Efficiency with "100% Utilization"?

2•nickevante•7m ago•0 comments

Local AI Manifesto

https://github.com/Tennisee-data/acf/blob/main/MANIFESTO.md
2•zen4ttitude•8m ago•1 comments

The western US is in a snow drought, and storms have been making it worse

https://theconversation.com/the-western-us-is-in-a-snow-drought-and-storms-have-been-making-it-wo...
1•PaulHoule•8m ago•0 comments

Teenage Engineering's riddim n' ting: a handheld reggae/dub groovebox and FX mic

https://teenage.engineering/products/ep-40
1•Lwrless•8m ago•0 comments

SyncForge – CRDT library faster than Yjs with full TypeScript support

https://github.com/ArthurzKV/syncforge
4•arthurzkv•10m ago•0 comments

Action Potentials for January

https://neurobiology.substack.com/p/action-potentials-for-january-46f
1•paulpauper•13m ago•0 comments

Everything I Thought I Knew About Flavor Was Wrong [video]

https://www.youtube.com/watch?v=4SBXGzH_F3w
2•gmays•17m ago•0 comments

Postmortem: Our first VLEO satellite mission (with imagery and flight data)

https://albedo.com/post/clarity-1-what-worked-and-where-we-go-next
7•topherhaddad•18m ago•1 comments

Women think artificial intelligence is riskier than men do, study finds

https://www.thebrighterside.news/post/women-think-artificial-intelligence-is-riskier-than-men-do-...
1•binning•19m ago•0 comments

Canadian woman euthanized 'against her will' after husband fed up caring for her

https://www.dailymail.co.uk/news/article-15489605/canadian-woman-euthanized-ontario-maid.html
2•binning•20m ago•0 comments

Ask HN: Rust and AI builders interested in local-first, multi-agent systems?

1•cajazzer•21m ago•1 comments

Contradictions on the Liberal Influenced Leftist Movement: On Prostitution

https://radleftunity.substack.com/p/contradictions-on-the-liberal-influenced-9f4
1•binning•22m ago•0 comments

Propositions about the New Romanticism

https://www.honest-broker.com/p/25-propositions-about-the-new-romanticism
3•dom2•23m ago•0 comments

Native GFM+ macOS (iOS WIP) Markdown Rendering via TextKit2

https://github.com/SuperSwiftMarkup/SuperSwiftMarkdownPrototype
1•colbyn•24m ago•1 comments

AI and Open Source: A Maintainer's Take (2025)

https://st0012.dev/2025/12/30/ai-and-open-source-a-maintainers-take-end-of-2025/
1•mooreds•27m ago•0 comments

Show HN: DocuDeeper – private document AI assistant,100% offline, GDPR-compliant

https://github.com/erabytse/docudeeper
1•takouzlo•27m ago•0 comments

A virtual-threaded Java HTTP server with zero dependencies

https://soklet.com/
1•mooreds•28m ago•0 comments

I Was Diagnosed with ADHD in My Forties. It Explained Everything

https://www.wsj.com/health/wellness/in-my-forties-i-found-out-i-have-adhdmaybe-you-do-too-c6fa3f84
3•ViktorRay•28m ago•0 comments

Why Does Destroying Resources via TF Suck?

https://newsletter.masterpoint.io/p/why-does-destroying-resources-via-tf-suck
5•mooreds•29m ago•2 comments

Looks like Claude is having a stroke

https://twitter.com/tskulbru/status/2015148189897101622
10•tskulbru•33m ago•3 comments

Show HN: I built a bedtime story web app in a weekend using AI tools

1•ealpopa•34m ago•1 comments

An Illustrated Guide to Hippo Castration

https://www.science.org/content/article/scienceshot-illustrated-guide-hippo-castration
1•joebig•34m ago•0 comments

Show HN: The AI-SDK for Rust Agents

https://github.com/lazy-hq/aisdk
1•ishaksebsib•35m ago•0 comments

Show HN: Stateless On-Prem JSON-to-PDF via REST (Java)

https://github.com/onprem-pdf/onprempdf
1•TrqConverter9•36m ago•0 comments

Bye Bye Gmail

https://m24tom.com/bye-bye-gmail/show
3•tklenke•37m ago•2 comments

Graphene Will Reshape the Future by 2030

https://www.youtube.com/watch?v=e772f2dikvE
3•AnfaB•40m ago•1 comments