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.

Naked Objects

https://en.wikipedia.org/wiki/Naked_objects
1•kristianp•7m ago•0 comments

Million Dollar Homepage

https://milliondollarhomepage.com/
1•CorpOverreach•10m ago•0 comments

The Quietest Mathematician Has Always Been Worth Listening To

https://www.quantamagazine.org/john-pardon-wins-the-2026-fields-medal-for-work-in-symplectic-geom...
1•tzury•11m ago•0 comments

Corporate Finance Explained – Free Cash Flow: Metric That Drives Valuation [video]

https://www.youtube.com/watch?v=iK0t4-vh0L8
1•kamaraju•14m ago•0 comments

OpenAI's Hugging Face Hack Triggers 'AI Kill Switch' Bill in Congress

https://www.cnbc.com/2026/07/23/open-ai-hugging-face-hack-kill-switch-bill-congress.html
2•pseudolus•15m ago•1 comments

Show HN: CLI Coding Agent that runs on llamafile and/or GGUF

https://github.com/kdeps/kdeps
1•jjuliano•16m ago•0 comments

B2B Software Is Still Stuck in the BlackBerry Era. That Is About to Change

https://www.attainoutcomes.com/blog/b2b-software-is-still-stuck-in-the-blackberry-era-that-is-abo...
1•tylerdane•18m ago•1 comments

Show HN: Turo – An Aggressive Token-Saving Proxy for CLI AI Agents

https://github.com/kdeps/turo
1•jjuliano•18m ago•0 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
1•pseudolus•19m ago•0 comments

The model didn't escape. OpenAI ran the attack

https://adi2025.substack.com/p/the-model-didnt-escape-openai-ran
3•AdrianDrempetic•19m ago•0 comments

A Startling Glimpse at AI's Ruthless Efficiency

https://www.theatlantic.com/technology/2026/07/openai-hugging-face-hack/688025/
1•paulpauper•20m ago•0 comments

How the American Office Became Inevitable

https://www.theatlantic.com/newsletters/2026/07/office-white-collar-american-dream/688041/
1•paulpauper•21m ago•0 comments

Forgot your Google password? Now you can log in with a selfie

https://arstechnica.com/gadgets/2026/07/google-now-lets-you-log-into-your-account-with-a-selfie/
1•pseudolus•26m ago•1 comments

Intel stock jumps as it rides AI boom to fastest revenue growth in almost 15 yrs

https://www.cnbc.com/2026/07/23/intel-intc-earnings-report-q2-2026.html
1•ekorbia•32m ago•0 comments

Cosmological constant from Standard Model spin

https://zenodo.org/records/21515348
1•kisnorbert•32m ago•0 comments

Andrew Graham-Dixon on Vermeer, a Forgotten Sect, Underrated Artists (Ep. 284)

https://conversationswithtyler.com/episodes/andrew-graham-dixon/
1•paulpauper•33m ago•0 comments

Frontier intelligence, 10x lower cost

https://www.mixlayer.com/
2•becomevocal•34m ago•0 comments

Show HN: Life Tile – Passive time tracker that shows your day as a Mondrian grid

https://apps.apple.com/us/app/life-tile-auto-tracker/id6767332648
1•choyongjoon•37m ago•0 comments

Rising stars of mathematics awarded prestigious 2026 Fields Medal

https://www.nature.com/articles/d41586-026-02169-1
2•maxall4•37m ago•0 comments

Fred Wilson – The Clarity Act

https://avc.xyz/the-clarity-act
1•rmason•38m ago•0 comments

Australia to AI: Produce More Power Than You Burn, Stop Content 'Theft'

https://www.theregister.com/ai-and-ml/2026/07/15/australia-demands-ai-companies-must-produce-more...
4•gnabgib•38m ago•0 comments

Preliminary Assessment of Kimi K3's Cyber Capabilities

https://www.aisi.gov.uk/blog/preliminary-assessment-of-kimi-k3s-cyber-capabilities
2•antondd•39m ago•0 comments

Pixel phones getting ad notifications

3•explodes•40m ago•2 comments

If AI companies avoid AI slop, shouldn't we?

https://www.machinesociety.ai/p/if-ai-companies-avoid-ai-slop-shouldnt
3•mikelgan•46m ago•1 comments

Patreon Lays Off 20 Percent of Its Workforce

https://www.404media.co/patreon-lays-off-20-percent-of-its-workforce/
9•cdrnsf•58m ago•0 comments

Saying Goodbye to My Office

https://manilsuri.substack.com/p/on-saying-goodbye-to-my-office
7•tzury•1h ago•0 comments

Palo Alto Networks Plans to Buy Embrace in Observability Push

https://www.morningstar.com/news/dow-jones/202607219336/palo-alto-networks-plans-to-buy-embrace-i...
2•pranay01•1h ago•0 comments

Measuring the Performance Cost of High Availability in Postgres

https://clickhouse.com/blog/postgresbench-ha
3•saisrirampur•1h ago•0 comments

Middleware that catches when LLM conversations slowly drift off-topic

https://github.com/ojki74/hallucinatoff
1•ojki•1h ago•0 comments

Feral cats fail at urban rodent control (2018)

https://wildlife.org/rats-feral-cats-fail-at-urban-rodent-control/
5•vector_spaces•1h ago•0 comments