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.

PHP2Shell: Both CVEs are two directions through the same pre-RINIT window

https://nefariousplan.com/posts/php-cve-2026-109618-109619-two-directions-one-window
1•tsavo42•2m ago•0 comments

XYEval: Agents say yes to bad advice

https://arxiv.org/abs/2609.23939
2•xnx•23m ago•0 comments

Linux_7.3 – Linux Kernel Newbies

https://kernelnewbies.org/Linux_7.3
2•abdelhousni•24m ago•0 comments

Node.js Brotli RCE (CVE-2026-111497)

https://vercel.com/kb/bulletin/node-js-security-advisory
5•nthypes•25m ago•0 comments

GoDaddy: Delayed Certificate Revocation

https://bugzilla.mozilla.org/show_bug.cgi?id=2083191
2•owenshen24•26m ago•0 comments

When Do We Become the Person We Ought to Be?

https://www.graphsaboutreligion.com/p/when-do-we-become-the-person-we-ought
3•toomuchtodo•26m ago•0 comments

Russia cracks down on AI bears as real attacks spread fear

https://www.reuters.com/lifestyle/russia-cracks-down-ai-bears-real-attacks-spread-fear-2026-10-14/
2•gnabgib•27m ago•0 comments

Did I just spent 6 months building a product that no one wants

6•harleenkh•28m ago•3 comments

mitmproxy adds --emudhra option

https://github.com/mitmproxy/mitmproxy/commit/169234499088fc2c414644a67efaed3d64ae2e3b
34•ahlCVA•32m ago•5 comments

eMudhra Intermediate CA Compromise

https://simonwillison.net/2026/Oct/20/emudhra-certificates/
2•abdelhousni•40m ago•1 comments

StENSEA

https://www.iee.fraunhofer.de/en/topics/stensea.html
2•sans_souse•42m ago•1 comments

Show HN: I built a Markdown and raw HTML blog platform scoring 99 on PageSpeed

https://bloffy.co/en
2•textlanes33•42m ago•0 comments

Airbnb bans making guests do dishes and take out the trash

https://www.theverge.com/tech/1015844/airbnb-chores-house-rules-update
22•babelfish•45m ago•6 comments

Dualtooth – Sync Windows Bluetooth Keys to Linux BlueZ in One Command

https://github.com/edotwedo/Dualtooth
3•thebeautifultre•47m ago•0 comments

Show HN: CertAvert – Free SSL/TLS tools and certificate expiry alerts

https://certavert.com
2•asiliev20•51m ago•0 comments

The Five Senses of Artificial Intelligence

https://project507.substack.com/p/the-five-senses-of-artificial-intelligence
2•massigenta•54m ago•0 comments

Agentitter – a microblogging/social network inside agents

https://agentitter.com/
2•soneca•54m ago•0 comments

CyberArena: Benchmarking AI Agents in Live Symmetric Attack-and-Defense Combat

https://arxiv.org/abs/2610.19005
2•neutrinoliu•54m ago•0 comments

The iPhone Duo

https://daringfireball.net/2026/10/the_iphone_duo
9•johnbehnke•58m ago•0 comments

Loco: The one-person framework for Rust

https://loco.rs/
2•mike1o1•1h ago•0 comments

Κ = 0.003 for integer multiplication crossed

https://github.com/CrocSwap/integer-mult-bounds/pull/4441
6•aleph_minus_one•1h ago•1 comments

Show HN: ZeGrapher v4: modern math plotter

https://zegrapher.com/en/
2•adelks•1h ago•1 comments

Singulion Structure and the Voynich Manuscript

https://journals.openedition.org/digitalmedievalist/2331
3•jhncls•1h ago•0 comments

Apple is finding its voice for what more sophisticated multitouch UX can be

https://royalicing.com/2026/apple-voice-iphone-duo
2•burntcaramel•1h ago•0 comments

Rails Is a JIT Compiler

https://railsatscale.com/2026-10-21-rails-is-a-jit-compiler/
5•hellerve•1h ago•0 comments

Show HN: Embodsi – Embodied Super Intelligence

https://embodsi.com/
2•laser•1h ago•0 comments

There isn't an easy exploit for this PHP vulnerability

https://eliastaylor.com/noexploit/
50•zkldi•1h ago•6 comments

Anthropic opens research preview of Claude Duet, a agent for professionals

https://www.reuters.com/technology/anthropic-unveils-claude-duet-ai-agent-app-2026-10-21/
2•satirr•1h ago•1 comments

Firefox Auto-Run on Windows

1•BubbleRings•1h ago•3 comments

Why didn't we use Ro­Register­For­Apartment­Shutdown?

https://devblogs.microsoft.com/oldnewthing/20261021-00/?p=112786/
1•ibobev•1h ago•0 comments