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

Comments

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

Show HN: MemFactory: Unified Inference and Training Framework for Agent Memory

https://arxiv.org/abs/2603.29493
2•MemTensor•1m ago•0 comments

Ask HN: How to get motivation of side projects if you don't need the money?

1•101008•1m ago•0 comments

Composing a Search Engine

https://exa.ai/blog/composing-a-search-engine
1•gmays•2m ago•0 comments

Ascend – DevSecOps framework with AI-powered merge conflict sync

https://github.com/venkatapgummadi/ascend
1•venkatapgummadi•4m ago•1 comments

OpenAI reinvents Recall except everything is stored remotely

https://developers.openai.com/codex/memories/chronicle
1•pluc•5m ago•0 comments

Show HN: Individual App Power Usage Tracking on Mac in Native Swift

https://macbookbatterymonitor.com
1•ryan-a•7m ago•0 comments

The Commodification of Travel

https://herman.bearblog.dev/the-commodification-of-travel/
2•HermanMartinus•10m ago•0 comments

Making RAM at Home [video]

https://www.youtube.com/watch?v=h6GWikWlAQA
1•dabiged•10m ago•0 comments

Meta to start capturing employee mouse movements, keystrokes for AI training

https://tech.yahoo.com/ai/meta-ai/articles/exclusive-meta-start-capturing-employee-162745915.html
3•devonnull•10m ago•1 comments

Kuri – Zig based agent-browser alternative

https://github.com/justrach/kuri
1•sorcercode•11m ago•1 comments

The Silo Problem: Three Teams, Three Truths

https://planetform.io/blog/the-silo-problem
1•rtwo_infra•18m ago•0 comments

Layer 8: The coordination protocol AI agents and embedded devices don't have yet

https://www.ezthrottle.network/blog/operationless-network-for-a-new-world-of-devices
1•rjpruitt16•19m ago•0 comments

Show HN: Govern Anthropic Managed Agents with 3 lines of code

1•inderrr•20m ago•0 comments

Remote (Latam) or San Francisco Onsite – Full Time

https://jobs.hireatomic.com/jobs/192386-ai-principal-software-engineer-us-saas-startup-remote
1•atomichire•26m ago•1 comments

Building a fault-tolerant metrics storage system at Airbnb

https://medium.com/airbnb-engineering/building-a-fault-tolerant-metrics-storage-system-at-airbnb-...
1•gpi•27m ago•0 comments

MAGA Has Exposed a Jesus Problem in US Christianity

https://recklessgrace.substack.com/p/maga-has-exposed-a-jesus-problem
3•TimW57•29m ago•0 comments

Show HN: Benchmarking how AI models write vulnerable code under pressure

https://leaderboard.atella.ai/code-security.html
1•kitdobyns•32m ago•1 comments

NASA's Curiosity rover finds organic molecules on Mars

https://www.theguardian.com/science/2026/apr/21/nasa-curiosity-rover-finds-organic-molecules-mars
4•billybuckwheat•32m ago•0 comments

the_world

https://hesnotjoking.substack.com/p/the-world-c8c
1•ucla_rob•34m ago•0 comments

UK Permanently Bans Tobacco for Anyone Born in 2009 or After

https://www.nytimes.com/2026/04/21/world/europe/uk-smoking-ban-2009.html
2•m-hodges•39m ago•1 comments

Migrate a Legacy Codebase with Sandbox Agents

https://developers.openai.com/cookbook/examples/agents_sdk/sandboxed-code-migration/sandboxed_cod...
1•gmays•42m ago•0 comments

Birthright Citizenship and Youth Crime

https://marginalrevolution.com/marginalrevolution/2026/04/birthright-citizenship-and-youth-crime....
3•pulisse•53m ago•1 comments

NeurIPS Supports Authors with Google's Paper Assistant Tool (Pat)

https://blog.neurips.cc/2026/04/21/neurips-supports-authors-with-googles-paper-assistant-tool-pat/
1•adt2bt•54m ago•0 comments

National Library Workers Day

https://ala-apa.org/nlwd/
1•ynac•55m ago•0 comments

Slash is a tiny helper that keeps you organized and focused

https://getslash.co/
2•igtztorrero•56m ago•0 comments

How to Implement an FPS Counter

https://vplesko.com/posts/how_to_implement_an_fps_counter.html
2•vplesko•56m ago•0 comments

Do This Instead of Rock Paper Scissors If You Are More Than 2 People

https://vplesko.com/posts/zimi_zami_zum.html
1•vplesko•56m ago•0 comments

2× – nine months later: We did it (Intercom)

https://ideas.fin.ai/p/2x-nine-months-later
1•mmarian•57m ago•0 comments

This Slug Can Survive on Photosynthesis [video]

https://www.youtube.com/watch?v=IH_uv4h2xYM
2•CharlesW•58m ago•0 comments

KDE at 30

https://kde.org/anniversaries/30/
3•kristianp•1h ago•0 comments