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.

HateArena – A free and open source arena shooter

https://github.com/hatearena/hate
1•death_eternal•2m ago•0 comments

Ask HN: Where do you get the latest updates about AI?

1•d0able•4m ago•1 comments

An Ohio Valley 100k-Watt FM Signal Is Severed in Broad Daylight – Radio World

https://www.radioworld.com/news-and-business/headlines/an-ohio-valley-100000-watt-fm-signal-is-se...
1•pkaeding•4m ago•0 comments

ICE detainees across the US describe medical neglect

https://apnews.com/article/ice-immigration-detention-medical-neglect-dhs-32c3fbeef0c44dfb02fcab89...
1•petethomas•9m ago•0 comments

Super El Niño Events

https://en.wikipedia.org/wiki/Super_El_Ni%C3%B1o_events
1•rolph•10m ago•0 comments

When Can Amazon Block an Agentic AI Service?–Amazon vs. Perplexity

https://blog.ericgoldman.org/archives/2026/06/when-can-amazon-block-an-agentic-ai-service-amazon-...
2•HotGarbage•11m ago•0 comments

Passing DBs Through Continuations

https://remy.wang/blog/cps.html
1•remywang•11m ago•0 comments

Complete Guide to Everything El Niño

https://weather.com/science/weather-explainers/news/2026-02-19-el-nino-la-nina-neutral-enso-pacif...
1•rolph•11m ago•0 comments

Deepfake Detector Robustness Testing

https://huggingface.co/datasets/danb21/social-media-robustness-sdxl-instantid
1•danbabalola•16m ago•1 comments

Show HN: Word-by-word translation aligner tool

https://aligner.tinygods.dev/
1•danipolani•18m ago•0 comments

ChatGPT hallucinating images when asked to restore non existent photo

https://twitter.com/penguinweb3/status/2063196355011424582
2•blumomo•20m ago•0 comments

Ultra-High-Speed Cutting for High-Performance Difficult-to-Machine Composites

https://www.mdpi.com/2075-1702/14/5/468
1•PaulHoule•21m ago•0 comments

FreeBSD 15.1 Delayed to Mid-June Due to Critical x86 Bug Fixes

https://www.phoronix.com/news/FreeBSD_15.1-RC3-Released
2•daesorin•25m ago•0 comments

I don't like computer anymore. [video]

https://www.instagram.com/reel/DZGC6EChvGK/
1•mastazi•29m ago•0 comments

AI Criticism

https://dennisforbes.ca/blog/microblog/2026/06/on_ai_criticism/
1•llm_nerd•32m ago•0 comments

Show HN: DomainTasker – avoid losing domains and surprise renewals

https://domaintasker.com/
5•si_164•38m ago•2 comments

Armed Forces Recipe Service [pdf]

https://www.marines.mil/portals/1/Publications/MCO%20P10110.42B.pdf
1•kmstout•40m ago•1 comments

The Guix Nix Abomination: Leveraging Guix Derivations in Nix

https://fzakaria.com/2026/06/05/the-guix-nix-abomination-leveraging-guix-derivations-in-nix
2•dagenix•48m ago•0 comments

Show HN: Persist – an AI agent that follows up accrued channels till they reply

https://persist.chat
3•Robelk1•54m ago•1 comments

CS Trivia: computer science crosswords

https://cstrivia.com/
2•bluejulius•54m ago•1 comments

A modular impact diverting mechanism for football helmets [pdf]

https://www.sfu.ca/~gwa5/pdf/2020_04.pdf
2•luu•55m ago•0 comments

Is AI Anxiety Causing the Vibecession? An Investigation

https://kevinonthemargin.com/is-ai-anxiety-causing-the-vibecession-an-investigation/
2•m-hodges•57m ago•0 comments

Up-to-Date Evidence Reviews of Health and Longevity Interventions

https://evipedia.ai/
2•negura•1h ago•0 comments

Public Domain Image Archive

https://pdimagearchive.org/
9•davidbarker•1h ago•1 comments

Immortality

https://aabiji.github.io/html/immortality.html
4•aabiji•1h ago•0 comments

The World's 100 Best Clubs

https://www.nightlifeinternational.org/en/congress-awards/100-world-s-best-clubs
3•fauria•1h ago•0 comments

California's tire efficiency rule may increase emissions by shortening lifespan

https://www.autoblog.com/news/californias-fuel-saving-tire-rule-could-make-drivers-replace-tires-...
3•mcchen51•1h ago•0 comments

AI is the greatest money-wasting scheme humanity has ever invented

https://www.telegraph.co.uk/news/2026/06/04/ai-is-the-greatest-money-wasting-scheme-humanity-has-...
4•HotGarbage•1h ago•0 comments

Watch Einstein's simulated brain light up as you ask him questions

https://www.opendria.com/
2•opendria•1h ago•2 comments

Code Is Cheap(er)

https://htmx.org/essays/code-is-cheap/
3•chr15m•1h ago•0 comments