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: Netmon – self-hosted LAN monitor with sarcastic AI reports to Telegram

https://github.com/Role1776/netmon
1•OymInIRole•47s ago•0 comments

ChatGPT Led to a Man's Near-Fatal Health Crisis, Lawsuit Claims

https://www.nytimes.com/2026/07/22/well/openai-chatgpt-health-lawsuit.html
1•VinayUPrabhu•1m ago•0 comments

Ask HN: What changed in your life when you started meditating (and how)?

5•dondraper36•3m ago•0 comments

To Have Taste You Must Eat (and Software Engineering) – Video

https://www.youtube.com/watch?v=F4igbiu9eR8
2•SamCoding•3m ago•0 comments

The New Bookmarks Are Sticky Notes Thanks to TaskLoco's Chrome Extension

https://chromewebstore.google.com/detail/sticky-note-web-clipper-s/gniilbpapgommpalikcclpcnbcamgila
1•taskloco_nyc•3m ago•0 comments

SoundCloud Acquires Nina Protocol

https://soundcloud.com/playbook-articles/soundcloud-acquires-nina-protocol-to-preserve-and-amplif...
1•ChrisArchitect•3m ago•1 comments

Google revenue surges on AI-driven boom in Cloud unit

https://www.ft.com/content/b02f972c-c764-4006-9377-42563d9d5530
4•alephnerd•6m ago•1 comments

AI Impact – A Collection of Stats

https://vester.si/ai-impact/
3•vesterde•7m ago•2 comments

Moody's Upgrades Argentina Credit Rating, Citing Milei's Economic Overhaul

https://www.bloomberg.com/news/articles/2026-07-21/moody-s-lifts-argentina-credit-rating-in-fresh...
2•bilsbie•7m ago•0 comments

What is loop engineering for teams?

https://www.augmentcode.com/blog/what-is-loop-engineering-and-how-are-leading-software-engineerin...
1•knes•8m ago•0 comments

Show HN: Pacwich, Monorepo tooling for Bun/NPM/pnpm (try the browser CLI demo)

https://pacwich.dev
1•smorsic•8m ago•0 comments

Is AI speedrunning crypto's mistakes of no consumer?

https://www.wsj.com/cio-journal/openais-high-stakes-high-touch-push-to-make-ai-work-for-business-...
1•invalidmonk•8m ago•0 comments

Show HN: Kalvir Clock

https://kalvir.life/clock
1•kalv•10m ago•0 comments

Fairphone 6 wide camera experimental Linux support

https://nondescriptpointer.com/articles/fairphone-6-wide-camera-linux/
1•helonaut•11m ago•0 comments

Read_my_vram v0.6.0 Fast, minimal-dependency VRAM telemetry

https://crates.io/crates/read_my_vram
1•RelfexMan•11m ago•0 comments

Most "self-improving" AI agents don't improve

https://loadbearingtech.substack.com/p/self-improving-agent-loops-verifier
3•kamselig•12m ago•0 comments

Ancient Rome's version of Google Maps: how long to reach the beach

https://www.euronews.com/culture/2026/07/02/ancient-romes-version-of-google-maps-how-long-to-reac...
1•gnabgib•12m ago•0 comments

BlindTasting – A daily guessing game for national dishes

https://blindtasting.fun/
1•LouLou_•13m ago•0 comments

Show HN: TTFT benchmark: LLM Gateway vs. OpenRouter (Claude-haiku-4.5, 150 runs)

https://llmgateway.io/blog/openrouter-vs-vercel-vs-llmgateway-performance
2•proxysoul•13m ago•0 comments

Show HN: Paste a job description, get a broken Kubernetes cluster to fix

https://prepme.io
1•ilyasubach•15m ago•2 comments

Is AI productivity growth in the room with us?

https://www.ft.com/content/3fcda833-80d2-4e13-86f4-29b479b79adf
4•root-parent•17m ago•0 comments

Puffin: Scheme-like language with self-hosting compiler and gradual types

https://kmicinski.com/puffin-lang/index.html
1•azhenley•17m ago•0 comments

President's words replaced with stupid shit in secure phone call

https://medium.com/@rviragh/presidents-words-replaced-by-stupid-shit-in-secure-phone-call-47f4138...
4•logicallee•19m ago•1 comments

Physical AGI's fist steps will be in the fields, not factories

https://www.telekin.tech/CallToArms
6•sopermanlet•19m ago•0 comments

Digitizing Canada's Weather History Boosts Climate Science

https://www.mcgill.ca/newsroom/channels/news/digitization-centuries-canadian-weather-records-prom...
2•gnabgib•19m ago•0 comments

Grok Imagine will make 'historically accurate' AI adaptation of Homer's Odyssey

https://www.theguardian.com/film/2026/jul/22/elon-musk-grok-imagine-historically-accurate-ai-home...
1•bookofjoe•19m ago•0 comments

Test Your Agent's Temperament

https://rain-ouroboros.github.io/agent-temperament-test/
1•tigrohvost•20m ago•1 comments

Optimization of SASS Stall Counts

http://redplait.blogspot.com/2026/07/optimization-of-sass-stall-counts.html
1•matt_d•22m ago•0 comments

GA4 vs. Cloudflare dashboard shows how much traffic isn't being tracked

https://papercrane.ai/blog/how-much-traffic-is-ga4-missing
1•timliu9•22m ago•0 comments

Alphabet Announces Second Quarter 2026 Results [pdf]

https://s206.q4cdn.com/479360582/files/doc_financials/2026/q2/2026q2-alphabet-earnings-release.pdf
8•mfiguiere•22m ago•0 comments