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.

Tim Hayward: I built the Jaguar E-Type of computer keyboards

https://www.ft.com/content/6bfd6860-31e0-40d9-9cc0-15daea278f71
2•pseudolus•7m ago•0 comments

Show HN: Mermaid Studio – preview and fix broken mermaid diagrams

https://mdview.io/mermaid
2•Igor_Wiwi•8m ago•0 comments

Google ordered to put clearer links in AI search and let UK publishers opt out

https://arstechnica.com/tech-policy/2026/06/google-ordered-to-put-clearer-links-in-ai-search-and-...
2•nate•9m ago•2 comments

B. F. Skinner "Baby In A Box" (1945)

https://media.pluto.psy.uconn.edu/babyinabox.html
2•rballpug•12m ago•0 comments

Show HN: GhostUser – AI personas that find UX bugs by walking your app

https://github.com/savkevip/ghostuser
3•savkevip•13m ago•0 comments

Ask HN: Why Ask HN has only 14 questions now?

3•throwaw12•14m ago•0 comments

NYC to install sensors to track how pedestrians, bikers and drivers behave

https://gothamist.com/news/nyc-to-install-traffic-sensors-to-track-how-pedestrians-bikers-and-dri...
4•geox•16m ago•0 comments

Opendria – Speak with 80 historical figures with memory and emotional context

https://www.opendria.com/
2•opendria•16m ago•0 comments

The Great AI Boomerang

https://emeraldbook.org/news/may-3126-2/
1•worik•16m ago•0 comments

Scalable Concurrent Queues for GPU

https://arxiv.org/abs/2606.01693
1•rbanffy•20m ago•0 comments

"Sum Ergo Demonstro" RP2350 Demo Explained

https://www.linusakesson.net/scene/sum-ergo-demonstro/explanation.php
2•fanf2•21m ago•1 comments

AI Agents Enable Adaptive Computer Worms

https://arxiv.org/abs/2606.03811
2•rbanffy•21m ago•1 comments

CISA warns of cyberattacks targeting fuel tank monitoring systems

https://www.bleepingcomputer.com/news/security/cisa-warns-of-cyberattacks-targeting-fuel-tank-mon...
1•openbin_kng•21m ago•0 comments

The deadliest poison known to AI

https://iocaine.madhouse-project.org/
3•aggrrrh•22m ago•0 comments

Ableton Extensions SDK

https://www.ableton.com/en/live/extensions/
3•bennett_dev•23m ago•0 comments

Improve Shopify Product Visibility for AI Search

https://www.prodync.com/
3•freeinvoiceflow•23m ago•1 comments

Designing a Better Podcast Editor

https://www.adamsolove.com/ui/ducking/2026/06/03/better-podcast-ui.html
2•asolove•24m ago•0 comments

US and Iran are playing a crypto cat-and-mouse game over sanctions

https://finance.yahoo.com/economy/policy/articles/bernie-sanders-introduce-bill-giving-135431485....
5•rmason•28m ago•0 comments

Iran's largest crypto exchange is used by the IRGC to move millions

https://www.reuters.com/investigations/one-irans-most-powerful-families-founded-its-largest-crypt...
5•rmason•29m ago•0 comments

Show HN: Mnemo – local-first AI memory layer for any LLM (Rust, SQLite,petgraph)

https://github.com/zaydmulani09/mnemo
5•zaydmulani•31m ago•0 comments

After Tailoring My Resume, I Landed 3 Job Offers in 3 Weeks

https://old.reddit.com/r/ResumeTips/comments/1rby70o/after_tailoring_my_resume_i_landed_3_job_off...
6•nixass•31m ago•0 comments

Sipio – A minimalist tasting journal for coffee, wine, beer and other drinks

https://jirkapenzes.github.io/sipio-web/
2•jiripenzes•35m ago•0 comments

Systems for Making Systems

https://maxkapur.com/2026/06/03/metasystems.html
3•speckx•40m ago•0 comments

Enshittification, Despotification, and the Open Internet (by Mike Masnick)

https://www.liberalism.org/p/enshittification-despotification-and-the-open-internet
5•liotier•42m ago•1 comments

'All Systems Glow'

https://www.cnet.com/tech/all-systems-glow-apple-teases-wwdc-2026-with-new-tagline-playlist-wallp...
3•rbanffy•43m ago•0 comments

Show HN: Aeterna – Private, passwordless AI digital legacy vault

https://helloaeterna.com/
2•ls1911•44m ago•1 comments

TrustedRouter: One API, all the LLMs, provably private

https://jperla.com/blog/trustedrouter-one-api-all-llms-provably-private
3•ljlolel•46m ago•0 comments

Git and S3 as the memory layer for agents

https://twitter.com/VijitDhingra1/status/2062265896039833935
4•crush_robo_1536•47m ago•0 comments

My Software North Star

https://kristoff.it/blog/north-star/
4•kristoff_it•47m ago•0 comments

What your router knows (but won't tell)

https://david.weekly.org/blog/2026-04-16-what-your-router-knows/
4•ujeezy•47m ago•0 comments