frontpage.
newsnewestaskshowjobs

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.

Holster-scan – catch AI-hallucinated package imports before agents run

https://github.com/nauta-ai/holster-scan
1•davidnauta•50s ago•0 comments

Next 100 Days: Xbox Reset

https://news.xbox.com/en-us/2026/06/10/next-100-days-xbox-reset/
1•berlianta•1m ago•0 comments

I built a free tool that extracts recipes from YouTube cooking videos

http://217.154.165.14:8080
1•The_Cook•2m ago•0 comments

Ottawa moves to restrict social media for kids under 16

https://www.cbc.ca/news/politics/online-harms-ai-social-media-children-9.7229976
1•ChrisArchitect•4m ago•0 comments

BYD's 5-minute EV chargers go live overseas

https://electrek.co/2026/06/09/byd-opens-first-5-min-ev-chargers-overseas-cheap/
1•breve•5m ago•0 comments

Japan is everything wrong with society [video]

https://www.youtube.com/watch?v=ugPtz0zL4gI
1•ValentineC•7m ago•0 comments

Do the Hard Things, Always

https://www.serval.com/serval-news/do-the-hard-things-always
2•emot•7m ago•0 comments

Uber sues New York City over 'reckless' driver protection law

https://www.reuters.com/business/uber-sues-new-york-city-over-reckless-driver-protection-law-2026...
1•tartoran•9m ago•0 comments

Apple Intelligence: Apple got it right this time

https://trk.barrons.com/view/699d75232ec2b6256c871dadrg22t.12dw/c6474167
1•Anon84•9m ago•0 comments

A Case for a Simulation-Driven Exploration of Distributed GenAI Platforms

https://dl.acm.org/doi/10.1145/3805621.3807623
1•matt_d•12m ago•0 comments

ICANN sends breach notice to TrustName

https://domainnamewire.com/2026/06/10/icann-sends-breach-notice-to-trustname/
1•untitled-now•12m ago•0 comments

Organic foods are not healthier or pesticide free

https://news.immunologic.org/p/organic-foods-are-not-healthieror
1•fsflover•13m ago•0 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
1•denismenace•13m ago•0 comments

Tried to benchmark Google's new on-device dictation model and basically couldn't

https://www.getonit.ai/eloquent-review
1•telenardo•13m ago•1 comments

Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR

https://arxiv.org/abs/2606.11158
1•matt_d•13m ago•0 comments

Aurora – live animated background for VS Code

https://github.com/crlang44/AuroraBg
1•crlang44•16m ago•1 comments

My Prodigal Brainchild

https://nealstephenson.substack.com/p/my-prodigal-brainchild
2•bookofjoe•18m ago•0 comments

Bola – login-free World Cup prediction game for families, in 8 languages

https://bola.football/?lang=en
1•brainarts•19m ago•0 comments

OpenAI says Chinese propaganda is being deployed to foment dissent over tariffs

https://www.reuters.com/business/media-telecom/openai-says-chinese-propaganda-is-being-deployed-f...
2•tartoran•20m ago•0 comments

Somali referee for World Cup denied entry into United States

https://www.espn.com/soccer/story/_/id/49002985/somali-referee-world-cup-denied-entry-united-states
3•wslh•21m ago•0 comments

Real-time AI voice bridges language gaps in the moment

https://manateavagner.com/news/translate-live-spoken-translation
1•manateavagner•23m ago•0 comments

A primer on wide, structured events and observability

https://alok87.in/blogs/observability-wide-events
2•lizthegrey•26m ago•0 comments

Show HN: Hyphenate.dev: illustration of TeX's hyphenation algorithm

https://hyphenate.dev
2•returningfory2•27m ago•0 comments

Back to the Blog Again

https://www.rahulakira.com/posts/back-to-the-blog-again
2•exochrono•31m ago•0 comments

Will the next high value profession be people who can think independently?

3•ciwolex•33m ago•1 comments

AI hackathons on Devpost feel repetitive and somewhat random in judging

https://gemini3.devpost.com
3•noahnathan25•35m ago•0 comments

BYD is deploying 2.4x more charging power per month than Tesla

https://electrek.co/2026/06/10/byd-coming-for-tesla-supercharger-network-1500-kw-flash-charging/
3•breve•36m ago•0 comments

Gesture-based proof of humanity – W3C DID, on-chain, no biometrics

https://homosapience.org/en
2•tulubyev•37m ago•1 comments

The Roy Lee/Clavicular Balance

https://ferguswhitedev.substack.com/p/the-roy-leeclavicular-balance
2•ferguswhite•38m ago•1 comments

JWST solves decades-long mystery about why Saturn appears to change its spin

https://phys.org/news/2026-03-jwst-decades-mystery-saturn.html
2•tkcashman•40m ago•0 comments