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.

Centralization as the Solution

https://jiranihub.com/
1•jiranihub•1m ago•0 comments

A Field Guide to the AI Security Market

https://zeltser.com/ai-security-market-field-guide
1•882542F3884314B•1m ago•0 comments

Vercel Passport is now generally available

https://vercel.com/changelog/vercel-passport-generally-available
1•flyaway123•2m ago•0 comments

July 2026 in AI

https://howmachinesthink.substack.com/p/july-2026-in-ai-what-actually-mattered
1•abhaysinghr516•2m ago•0 comments

Google AI Overviews have gone from appearing in 15% of searches to 43% now

https://techcrunch.com/2026/07/27/googles-ai-search-is-rapidly-becoming-the-default-new-data-shows/
1•qikouki•4m ago•0 comments

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
2•throwaway2037•6m ago•0 comments

Test the Email Verification Protocol with an origin trial

https://developer.chrome.com/blog/email-verification-protocol-origin-trial
1•eatonphil•6m ago•0 comments

Unreleased OpenAI model solves 10 major mathematical problems

https://twitter.com/polynoamial/status/2083467194663571701
2•crhulls•6m ago•0 comments

Hurricanes Make Lizards Evolve Bigger Toe Pads (2020)

https://www.smithsonianmag.com/smart-news/hurricanes-make-lizards-evolve-bigger-toe-pads-180974772/
1•EndXA•7m ago•0 comments

Pull Request Now Means Pull and Test

https://hec.works/blog/pull-request-now-means-pull-test/
1•dividedcomet•7m ago•0 comments

Integrate LLM into your Python runtime

https://github.com/MiskaKan/thinair
1•ObviousDecline•9m ago•0 comments

You are building a better future – NO PROMOTION AT ALL

1•silisleek•9m ago•0 comments

Show HN: Minimal LLM Post-Training Experiments on an 8GB GPU (SFT, DPO, GRPO)

https://github.com/pochenai/nano-llm-posttraining
1•popopanda•10m ago•0 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
1•robinpdev•10m ago•0 comments

China begins mass production of DUV chipmaking machines in major breakthrough

https://www.tomshardware.com/tech-industry/semiconductors/china-begins-mass-production-of-domesti...
3•JumpCrisscross•12m ago•1 comments

Judge orders Waymo to stop overnight charging in Santa Monica

https://arstechnica.com/tech-policy/2026/08/after-noise-complaints-judge-orders-waymo-to-stop-ove...
1•SockThief•12m ago•0 comments

Revenge of the Simps

https://www.thecut.com/article/cam-girls-webcam-pimp.html
1•t-3•12m ago•0 comments

Tech buyers are baking in sovereignty from day one, says Forrester

https://www.theregister.com/ai-and-ml/2026/07/31/tech-buyers-are-baking-in-sovereignty-from-day-o...
1•mark336•17m ago•0 comments

Playbooks, plagiarism and a pig's head: claims surrounding Cambridge professor

https://www.theguardian.com/education/ng-interactive/2026/aug/01/playbooks-plagiarism-pigs-head-n...
2•jimnotgym•19m ago•0 comments

Excel was my database for 15 years, and Postgres ended that in a weekend

https://www.makeuseof.com/excel-database-15-years-postgres-ended-in-weekend/
1•Anon84•20m ago•2 comments

Unreleased Amiga Concepts

https://www.gamesthatwerent.com/2016/04/unreleased-amiga-concepts/
1•Bluestein•22m ago•0 comments

Astro Loop

https://pubdeer.com/
1•BaseBaal•23m ago•0 comments

ANA Airlines Internet Purchasing uses live key on test env

https://claude.ai/code/artifact/581f6337-1c6a-4931-bfa2-b938a25eb3a7?via=auto_preview
1•rryoung98•24m ago•1 comments

The Safari bug that never was (2022)

https://obyford.com/posts/the-safari-bug-that-never-was/
1•downbad_•28m ago•0 comments

Building biology AI models autonomously

https://phylo.bio/blog/biomni-tuso
2•eamag•29m ago•0 comments

Show HN: Heartbeats.dorianmarie.com

https://heartbeats.dorianmarie.com/
4•dorianmariewo•31m ago•1 comments

The Stack v3

https://huggingface.co/datasets/HuggingFaceCode/stack-v3-train
1•EvgeniyZh•31m ago•0 comments

Manta: Network Topology Adaptation for Self-Evolving Multi-Agent Systems

https://arxiv.org/abs/2607.28527
1•danbitengo•33m ago•0 comments

A deep dive into Nvidia's Vera CPU and the Olympus cores that power it

https://www.theregister.com/systems/2026/08/01/nvidias-vera-cpu-and-the-olympus-cores-that-power-...
1•sbulaev•33m ago•0 comments

A field report of using Alloy with agent-based development

https://alloytools.discourse.group/t/a-field-report-of-using-alloy-with-agent-based-development/555
1•woggy•33m ago•0 comments