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

Comments

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

Single-pixel camera at home [video]

https://www.youtube.com/watch?v=EE9AETSoPHw
1•gsf_emergency_6•17s ago•0 comments

Ask HN: Is self-aware AI harmful for our culture?

1•eimrine•2m ago•0 comments

Ask HN: AMA – AI Startups Assessor and Strategy Consultant

1•duverse•11m ago•0 comments

Jujutsu v0.36.0 Released

https://github.com/jj-vcs/jj/releases/tag/v0.36.0
1•birdculture•12m ago•0 comments

AI detection tools cannot prove that text is AI-generated

https://www.seangoedecke.com/ai-detection/
1•Twixes•16m ago•0 comments

Show HN: Know your employees skills gap and boost retention rate

https://semis.reispar.com
1•tolulade_•16m ago•0 comments

The Gamma Language

https://lair.masot.net/gamma/
1•RossBencina•20m ago•0 comments

Giant humanoid electrical pylons

https://choishine.com/Giants.html
1•yzydserd•25m ago•0 comments

Should CSS Be Constraints?

https://pavpanchekha.com/blog/why-css-bad.html
1•tannhaeuser•29m ago•1 comments

Why Does A.I. Write Like That?

https://www.nytimes.com/2025/12/03/magazine/chatbot-writing-style.html
2•carabiner•31m ago•0 comments

Instagram Profit Margin Calculator Online Free Tool

https://metaconvert.blogspot.com/2025/10/instagram-profit-margin-calculator.html
2•MetaConvert•38m ago•0 comments

Unix Original Bell Labs v4 Found at University of Utah

https://www.youtube.com/watch?v=IR-f07LN0-Y
1•rasengan0•40m ago•0 comments

Grok 4.20 beats all other AI models in Alpha Arena test

https://www.sammyfans.com/2025/12/05/grok-4-20-beats-all-other-ai-models-in-alpha-arena-test/
1•terryds•42m ago•0 comments

High-Performance DBMSs with io_uring: When and How to use it

https://arxiv.org/abs/2512.04859
1•mfiguiere•45m ago•0 comments

Loopi – Open-Source Visual Browser Automation Platform

https://loopi.dyan.live/
1•0018akhil•46m ago•1 comments

Nano Banana Pro: reasoning-first 4K studio

https://nanobanapro.com
1•AnyVideoAI•54m ago•0 comments

Which protocol do you guys use in NAS shares to Proxmox – NFS or SMB?

https://old.reddit.com/r/Proxmox/comments/1i50jy9/which_protocol_do_you_guys_use_in_nas_shares_to/
2•sipofwater•54m ago•2 comments

Alternate Reality Christmas Gifts

https://medium.com/luminasticity/alternate-reality-christmas-gifts-9d9dd9c81a2b
1•bryanrasmussen•1h ago•0 comments

Show HN: How to play imposter game with impostergame.win

https://impostergame.win/how-to-play
1•tomstig•1h ago•1 comments

Turning everyday observations into investable signals

https://www.prophit.investments/
2•porterh•1h ago•1 comments

UK IVF couples rank embryos based on potential IQ, height and health

https://www.theguardian.com/society/2025/dec/06/uk-ivf-couples-use-legal-loophole-rank-embryos-iq...
2•sorokod•1h ago•0 comments

Maher Arar

https://en.wikipedia.org/wiki/Maher_Arar
4•KnuthIsGod•1h ago•0 comments

Very Important People

https://dirt.fyi/article/2025/11/very-important-people
1•gmays•1h ago•0 comments

Why Theme Parks Keep Getting More Extreme

https://www.theatlantic.com/culture/archive/2025/09/universal-epic-universe-disney-theme-park-att...
2•vinhnx•1h ago•0 comments

Rnj-1: Building Instruments of Intelligence

https://essential.ai/research/rnj-1
1•aratahikaru5•1h ago•0 comments

Pantone Color of the Year 2026

https://www.pantone.com/uk/en/color-of-the-year/2026
1•vinhnx•1h ago•1 comments

Schizophrenia sufferer mistakes smart fridge ad for psychotic episode

https://old.reddit.com/r/LegalAdviceUK/comments/1pc7999/my_schizophrenic_sister_hospitalised_hers...
61•hliyan•1h ago•19 comments

Redfin's 2026 Predictions: Welcome to the Great Housing Reset

https://www.redfin.com/news/housing-market-predictions-2026/
1•toomuchtodo•1h ago•0 comments

St. Nicholas Day: NIS2 Implementation Act Comes into Force in Germany

https://www.heise.de/en/news/On-St-Nicholas-Day-NIS2-Implementation-Act-Comes-into-Force-11104146...
1•doener•1h ago•0 comments

The Hackers Lost. Freezenet Is Back

https://www.freezenet.ca/the-hackers-lost-freezenet-is-back/
1•doener•1h ago•0 comments