Trade on tv
NewsAI
neutral
CryptoSlate14h agoCRYPTO-ENTECHNOLOGY

Google says AI rewrote a video decoder and made it 20–30% faster in tests

2 min read5% importance398 words
C

CryptoSlate

CryptoSlate

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.

Google preserves behavior before tuning speed

The 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.

Google places this work within collaborations with human experts. Researchers frame questions and define constraints, while agents explore possibilities, test candidate solutions and check results.

The decoder work also predates this month's update. In its September 30 Argon announcement, Google described agents optimizing an existing Rust libgav1 port to run 2.7 times faster than that earlier Rust version, bringing it closer to optimized C++. November's comparison is against C++ and assembly instead. The different baselines prevent treating those figures as one measured progression.

CryptoSlate's recent AWS Emulator coverage concerned agent-written software and human-designed release checks. Google's decoder example adds the challenge of preserving an existing implementation's outputs while improving its speed.

The libgav1 project repository linked by Google still documents a C++17 and CMake build, including architecture-specific optimization switches. The November report does not specify processor models, compiler settings, clip identities, thread counts or timing distributions. It also does not identify a reproduction package for the Rust benchmark or announce that the rewritten decoder has entered production.

That leaves a concrete next test for the disclosure: a specified Rust revision, comparison build and video corpus would let other developers examine whether the reported advantage holds under their own conditions.

AI Summary

Google reports its Antigravity /teamwork AI system rewrote the libgav1 AV1 video decoder in Rust, achieving 20-30% faster performance than C++ and hand-optimized assembly on sample clips, following an initial port that ran four times slower. The rewrite comprises around 170,000 lines of Rust with 100% bit-exact parity across conformance tests.

Sentiment analysis

NEUTRALscore 0.00 · medium

    AI insights

    Newsworthiness5%
    Global impact5%
    Urgency

    low

    Freshness

    14h ago

    Audience

    general

    Follow-up

    Related categories
    BusinessProgramming

    Financial analysis

    Relevance

    medium

    Market sensitivity

    medium

    Affected sectors

    technology

    Affected assets

      Follow this story on TV

      Live charts and AI commentary on one screen with Trade on tv.

      Explore features