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.

Provenance: Proving That Your Code Is Yours

https://medium.com/@vektormemory/provenance-proving-that-your-code-is-really-yours-603c09407a97
1•vektormemory•9s ago•1 comments

AI models' values are different from most people's

https://www.economist.com/briefing/2026/06/25/ai-models-values-are-very-different-from-most-peoples
2•Anon84•40s ago•0 comments

We Are Running Companies on Chat Windows and Calling It a Revolution

https://irishtechnews.ie/running-companies-on-chat-windows-calling-it-rev/
2•belkin1•3m ago•0 comments

Jersey Mike's IPO illustrates how bad the AI hype is

https://finance.yahoo.com/technology/ai/articles/jersey-mike-ipo-illustrates-bad-201159743.html
1•cybermango•4m ago•0 comments

Arbitrary code execution breaking sandboxes in KDE Plasma

https://blog.kimiblock.top/2026/07/01/arbitrary-code-execution-in-kde-plasma/index.html
1•birdculture•7m ago•0 comments

BiOptimizers Magnesium Breakthrough Reviews – Truth Check

https://gamma.app/embed/Magnesium-Breakthrough-By-BiOptimizers-Honest-Review-tbe77aupzt7tnrd?mode...
1•prepostseo•11m ago•0 comments

Show HN: AI Coloring Page Generator for printable classroom worksheets

https://aicoloringpagegenerator.org/
1•robot1996•11m ago•0 comments

Show HN: AI Video Detector – check whether a video may be AI-generated

https://aivideodetector.video
1•robot1996•11m ago•0 comments

Dangerously-skip-permissions is the only safe mode

https://www.granola.ai/blog/dangerously-skip-permissions-is-the-only-safe-mode
2•jamesfisher•11m ago•0 comments

Syscall: Ring ZERO assembly puzzle game for those who are tired of agentic AI

https://store.steampowered.com/app/4849330/SYSCALL_RING_ZERO/
1•thisisneat•13m ago•0 comments

Show HN: AssistantAI – Real-Time Conversation Hints and Screenshot Analysis

https://github.com/Aleksandern/assistant-ai
1•aleksandern08•13m ago•0 comments

In 1850, Ignaz Semmelweis saved lives with three words: wash your hands (2015)

https://www.pbs.org/newshour/health/ignaz-semmelweis-doctor-prescribed-hand-washing
2•downbad_•17m ago•0 comments

Show HN: Qpilot – AI agent runs plain-text manual test cases in a real browser

https://github.com/broxhq/qpilot
2•Muhammad-21•18m ago•1 comments

The Declaration of Independence

https://acoup.blog/2026/07/04/collections-on-the-declaration-of-independence/
1•cesidio•20m ago•0 comments

Show HN: An MCP server that gives your AI assistant write access to /etc./hosts

https://www.lockinmcp.com
2•Kiog-Aser•24m ago•0 comments

Show HN: ASMLings – Rustlings-style exercises for Intel 8086 assembly

https://github.com/giacomo-folli/asmlings
2•stopwatch4619•26m ago•0 comments

I stopped automating Reddit marketing and went back to manual

https://replytone.com
2•alwayswntent•26m ago•0 comments

Async: What Is Blocking? (2022)

https://ryhl.io/blog/async-what-is-blocking/
1•vinhnx•27m ago•0 comments

A field guide to Fable: finding your unknowns

https://twitter.com/trq212/status/2073100352921215386
1•mustaphah•29m ago•1 comments

Escape the Moon

https://escapethemoon.vercel.app/
1•rmoff•31m ago•0 comments

Show HN: Majority.wtf · guess yesterday's most common answer to a question

https://majority.wtf/
1•leumon•32m ago•0 comments

Show HN: Psycurate – Curated place for privacy-first, free psychological tools

https://psycurate.com
1•mursu•32m ago•0 comments

Show HN: Quizzyly – A Chrome Extension to Get Quiz from Current Webpage

https://chromewebstore.google.com/detail/quizzyly/agfdemmfpenkbccjnpjliaenpeihefae
1•satyajitdas•33m ago•0 comments

Show HN: Self hosted excalidraw workspace with storage

https://github.com/PriyavKaneria/excalidraw-workspace
1•diginova•40m ago•0 comments

Help, my dentist started coding – or: a little history of low code solutions

https://thomas-witt.com/blog/help-my-dentist-started-coding/
1•thomas_witt•40m ago•0 comments

The Seinfeld Chronicles

https://seinfeld.visualisingdata.com
1•akashwadhwani35•41m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
2•theanonymousone•41m ago•0 comments

Study: Universities must rethink how they prepare students for an AI world

https://www.manchester.ac.uk/about/news/universities-must-rethink-how-they-prepare-students/
1•giuliomagnifico•43m ago•0 comments

Reliable OST to PST Conversion

https://blog.perfectdatasolutions.com/ost-to-pst-converter-software-2/
1•tieanderson•45m ago•0 comments

Boston Is Drinking Like It's 1776. The Founding Fathers Would Be Proud

https://www.nytimes.com/2026/07/02/us/brooke-barbier-revolutionary-era-drinks.html
1•koolba•45m ago•0 comments