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.

Show HN: An MCP server that frames screen recordings and shots in Apple bezels

https://github.com/cwooddgr/bezelbub/tree/main/bezelbub-mcp
1•igneous_rocker•1m ago•0 comments

Show HN: Termaxa – I found my AI-agent gate had silently stopped gating Cursor

https://github.com/termaxa/termaxa
1•devdoc83•2m ago•0 comments

Should you be paying to get insights from your own money?

https://cardneuro.com/
1•AmiPatel•2m ago•0 comments

AI agents write PostgreSQL like Python

https://vvka-141.github.io/pgmi/articles/ai-agents-write-postgresql-like-python/
1•aevlampiev•2m ago•0 comments

Eli Lilly to buy psychedelics maker AtaiBeckley for $2.8B

https://www.cnbc.com/2026/07/16/eli-lilly-to-buy-psychedelics-maker-ataibeckley-2point8-billion.html
1•ulrikrasmussen•2m ago•0 comments

Compatibility regressions with anti-tampering SDKs used by apps are resolved

https://discuss.grapheneos.org/d/40383-compatibility-regressions-with-anti-tampering-sdks-used-by...
1•Cider9986•3m ago•0 comments

The $110/month self-improving pipeline

https://andywidjaja.com/blog/110-pipeline
1•digitallogic•3m ago•0 comments

Show HN: A Python script that parses sheet music and plays it on a drum machine

https://hankthemason.com/projects/fugue-for-my-drum-machine
1•hankthemason•3m ago•0 comments

End of Line: Replacing MCP with Standard Filesystem Tools

https://www.sicpers.info/2026/07/end-of-line-replacing-mcp-with-standard-filesystem-tools/
1•grahamlee•4m ago•0 comments

WHO calls for action as new cancer cases are projected to nearly double by 2050

https://www.who.int/news/item/08-07-2026-who-calls-for-urgent-action-as-new-cancer-cases-are-proj...
1•gmays•5m ago•0 comments

64% of recent Show HN launches are invisible to AI search (I audited 45)

https://ai-visibility-report.surge.sh/
1•miguelaudits•7m ago•0 comments

Ask HN: How do you manage too many open tabs?

2•NarcisMirandes•9m ago•3 comments

AI reviewers shipped secret-exfil code because a ticket said "pre-approved"

https://senthex.com/en/research/relay/
1•yohann_senthex•9m ago•0 comments

The Unreasonable Power of Identifiers

https://cogna.co/blog/the-unreasonable-power-of-identifiers/
2•darkr•9m ago•0 comments

Self-testing AI harness finds its own bugs

https://www.omnideck.dev/blog/self-testing-ai-browser-tools.html
1•rlnorthcutt•10m ago•1 comments

Show HN: Estratos – stacked memory system for AI assistants

2•cpinto•11m ago•0 comments

Readme, Not

https://blog.yossarian.net/2026/07/16/README-not
1•woodruffw•12m ago•0 comments

Show HN: Notelet – open-source SwiftUI package to show release notes in iOS apps

https://github.com/mykolaharmash/notelet
1•harmash•12m ago•0 comments

Show HN: Fly a nano-drone from your terminal (Rust TUI)

https://github.com/yannick-cw/crazyflie-commander
1•wazHFsRy•14m ago•0 comments

Show HN: Wallflower – A Quiet Social Reader

https://thewallflower.app/about
1•tldrthelaw•14m ago•0 comments

Fredkin's Paradox

https://en.wikipedia.org/wiki/Fredkin%27s_paradox
1•bookofjoe•16m ago•0 comments

Show HN: ChatGPT is finally good for frequent travelers

https://chatgpt.com/plugins/plugin_asdk_app_6a42b085385c81919aa4244be59d5887
1•skyler1537•17m ago•0 comments

Show HN: Mac App to turn your computer into a hands-off coding agent

https://caider.dev/
1•rajeshbejugam•17m ago•0 comments

Veta: AI agent that QA-tests Android apps

https://github.com/Vip3r-MC/Veta
2•Vip3rx9•19m ago•0 comments

USA launches "Gold Eagle" clearinghouse for cyber defense

https://www.heise.de/en/news/USA-launches-Gold-Eagle-clearinghouse-for-cyber-defense-11365797.html
1•qwertox•20m ago•0 comments

Inkling: A New Open-Weight 975B Moe with a Few Surprises

https://sebastianraschka.com/blog/2026/inkling-architecture-benchmark-notes.html
2•ModelForge•20m ago•0 comments

OpenAI's first gadget is the $230 Codex Micro macropad

https://thenewstack.io/openai-codex-micro-macropad/
1•gmays•20m ago•0 comments

Show HN: Free 30-second score of your website's traffic-to-sales path

https://www.signalroute.live/tools/traffic-score
1•DeniCJ•20m ago•0 comments

Finding the Last Bottlenecks in json2xml with Flamegraphs

https://vinitkumar.me/json2xml-flamegraph-optimization/
1•Brajeshwar•21m ago•0 comments

Ask HN: Assistive Tech Ideas for Dementia

1•thanksd•21m ago•1 comments