Urgent.News

What's breaking now, across thousands of outlets.

Tech

Maxwell gives sub-optimal code a runtime glow-up

Finally, your hardware has its own agent

Maxwell gives sub-optimal code a runtime glow-up

Maxwell, a code execution model developed by the Tel Aviv-based startup DoubleAI, aims to improve the runtime performance of software. Unlike traditional just-in-time compilers, Maxwell analyzes, optimizes, and rewrites binary code during program execution. Named after physicist James Clerk Maxwell's thought experiment on entropy, Maxwell preprocesses algorithms and machine instructions to maximize performance on available hardware.

DoubleAI co-founder Gal Beniamini, a PhD in theoretical computer science, explained that Maxwell surpasses JIT compilers in terms of flexibility and the ability to formally verify the equivalence of replacement code. While JIT compilers cannot change algorithms, Maxwell can and does, taking advantage of the higher-level reasoning capabilities of frontier AI.

One of Maxwell's key advantages is its formal verification process, which allows it to prove the soundness of its optimizations and ensure error-free code. This capability extends Maxwell's optimization scope beyond what compilers can achieve. For example, Maxwell has reportedly made data pipelines more than 38 times faster and AI inference kernels more than 4.5 times faster.

Maxwell's optimizations are tailored to the specific hardware, code, and runtime environment, making it particularly effective for algorithmic code that can be customized for hardware. It can also enhance code security by eliminating memory errors through formal proofs. The runtime overhead of Maxwell's tracing and profiling is minimal, typically around 2 percent, which is outweighed by the performance gains.

Installation of Maxwell's runtime is straightforward, requiring developers to install the runtime and run their code, with the Maxwell model hosted by DoubleAI. However, this approach necessitates trust in the hosting provider. Amnon Shashua, co-founder and CEO of DoubleAI, emphasized the shift in software development and runtime optimization brought about by AI, stating that Maxwell represents the first AI working for the machine, not the programmer.

Written by urgent.news from The Register's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at theregister.com →

More in Tech

More from Monday 19 October →