hn.today

Maxwell: A new kind of model that sits between code and hardware

heymaxwell.ai39 points21 comments
Screenshot of Maxwell: A new kind of model that sits between code and hardware

Maxwell is a new class of "code execution models" that sits between source code and silicon, running inside programs to observe data flow and hardware characteristics and then emit machine- and data-specific optimized binaries while the program keeps running. It replaces hotspots with formally proven, semantically equivalent implementations without changing the original source. Demonstrations and benchmarks show large speedups: 38× faster data pipelines, 4.25× faster AI inference kernels, LTX-2.5’s 4K generation nearly twice as fast (250s → 134s), Whisper transcription on an RTX 4090 cut from 106.23s to 49.82s, and NetworkX betweenness centrality reduced from 61.44s to 17.50s. Research highlights include outperforming NVIDIA PyTorch baselines on 90% of Blackwell kernels, a 3.6× faster cuGraph replacement, and fully reworked pandas kernels for modern hardware.

The engine behind Maxwell is formal verification: every transformation is accompanied by a machine-checkable proof of semantic equivalence that covers effects, mutable state, exceptions and I/O. Python’s dynamic semantics have been fully formalized to permit these proofs; guarded runtime checks hand control back to the original code when preconditions don’t hold. The design leverages the Curry-Howard correspondence and proof-checking infrastructure so optimizations are deterministic and provably safe. Maxwell is framed as complementary to code-writing agents: they author programs, and Maxwell ensures they run optimally on the exact machine and data in front of it.

Read on heymaxwell.ai21 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Inception "Mercury 3", 1000 tok/s diffusion LLM

Inception "Mercury 3", 1000 tok/s diffusion LLM

Mercury 3 is the most advanced diffusion-based large language model, outperforming models like GPT-6 Luna and Claude Haiku 5.5 in speed and capabilities, processing over 1,000 tokens per second. It is already used for real-time applications such as web navigation, voice support, and education, demonstrating that diffusion models can scale effectively for commercial use. (inceptionlabs.ai)

How Grok Bot Works

How Grok Bot Works

Grok Bot processes messages using distributed systems components like queues, workflows, and caching to ensure responsiveness and reliability. When a user sends a message, it is immediately shown locally, then queued and handled with priority, with the system maintaining state and recovering from crashes using Temporal. (peterp.me)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.