Google says AI rewrote a video decoder and made it 20–30% faster in tests
Google reports matching conformance-test output and a 20–30% speed edge on sample clips, without announcing production deployment. Read the full story on CryptoSlateUnderstand the crypto stories that matter and what to watch next. Get The Catalyst in your inbox
Google says its Antigravity /teamwork AI system rewrote libgav1, its AV1 video decoder, in Rust and made it 20–30% faster than the original C++ and hand-optimized assembly code on sample video clips. The result, disclosed in a November 13 engineering update, followed a port that initially ran around four times slower than the C++ version.
The company reports around 170,000 lines of Rust and 100% bit-exact parity across a broad conformance test suite, meaning the rewritten decoder matched the original’s output in those tests.
The performance reversal came after /teamwork received profiling tools and a goal of maximizing speed on sample clips, Google says. It reports the advantage on both x86_64 and ARM.
Related ReadingThe migration separates two engineering problems: keeping an established program's behavior and making the replacement fast enough to use. Google's account illustrates why a successful translation alone does not settle the performance question.
For code migrations, Google describes a forthcoming general rewrite pattern that schedules each module only after its dependencies compile, then tests leaf modules against the original, unmodified test suite. Keeping those checks intact gives the agents a fixed target while they change the implementation. Profiling then provides a separate feedback loop for finding where the new version spends its time.