<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9" -->

---
title: Meta ports React Compiler to Rust, Kata Containers 4.0...
description: Meta merged a Rust rewrite of the React Compiler that runs 3x faster as a Babel plugin and up to 10x faster for isolated transforms, with Vercel reporting...
canonical: https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Meta ports React Compiler to Rust, Kata Containers 4.0 ships Rust runtime | daily.dev
og:description: Meta merged a Rust rewrite of the React Compiler that runs 3x faster as a Babel plugin and up to 10x faster for isolated transforms, with Vercel reporting...
og:url: https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9
og:image: https://api.daily.dev/og/posts/RrkWlMLr9.png
og:image:alt: Meta ports React Compiler to Rust, Kata Containers 4.0 ships Rust runtime
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta ports React Compiler to Rust, Kata Containers 4.0 ships Rust runtime

**[Rust Digest](https://daily.dev/sources/rust_digest)** · 5 min read · 4 upvotes · 0 comments

## Summary

Meta merged a Rust rewrite of the React Compiler that runs 3x faster as a Babel plugin and up to 10x faster for isolated transforms, with Vercel reporting 20-50% faster Next.js route compilation via Turbopack. Kata Containers 4.0 replaced its Go runtime with a new Rust-based runtime-rs and the Dragonball hypervisor, targeting AI agent sandboxing on Kubernetes. The ast-grep team rewrote Tree-sitter's C runtime in Rust, hitting 30% parser throughput improvement and 22% CPU reduction, with some hard-won lessons about where the gains actually went. A caching layer migration from Go to Rust eliminated GC-induced P99 spikes of 50-100ms, dropping them to 1.5ms.

## Content

**TLDR:** Meta merged a Rust rewrite of the React Compiler that runs 3x faster as a Babel plugin and up to 10x faster for isolated transforms, with Vercel reporting 20-50% faster Next.js route compilation via Turbopack. Kata Containers 4.0 replaced its Go runtime with a new Rust-based runtime-rs and the Dragonball hypervisor, targeting AI agent sandboxing on Kubernetes. The ast-grep team rewrote Tree-sitter's C runtime in Rust, hitting 30% parser throughput improvement and 22% CPU reduction, with some hard-won lessons about where the gains actually went. A caching layer migration from Go to Rust eliminated GC-induced P99 spikes of 50-100ms, dropping them to 1.5ms.

---

## Meta merges Rust port of React Compiler, Turbopack integration cuts Next.js route compilation 20-50%

Meta rewrote the React Compiler from TypeScript to Rust and merged it into the main React repo. The Rust version is roughly 3x faster as a Babel plugin and up to 10x faster for isolated transformations. When Vercel wired it directly into Turbopack — bypassing Babel entirely — they saw 20-50% faster route compilation on Next.js apps. SWC, Oxc, and Rspack 2.1 have already integrated it; Rolldown pulled its integration temporarily to improve code quality. The public API is unchanged, so it's a drop-in upgrade. LLMs handled the mechanical translation; humans did architecture and review, which is drawing the usual debate about long-term maintainability of AI-translated code. [Read more](https://daily.dev/posts/rJiuVi3wl)

## Kata Containers 4.0 ships Rust runtime-rs and Dragonball hypervisor as new defaults

The OpenInfra Foundation released Kata Containers 4.0 with runtime-rs, a Rust rewrite of the original Go runtime, now the default. Ant Group's Dragonball — a lightweight Rust hypervisor — replaces the previous default VM monitor. The release is explicitly positioned for the Kubernetes Agent Sandbox project, where each AI agent workload runs in its own lightweight VM. The legacy Go runtime stays alive for bug and security fixes until Kata Containers 5.0. [Read more](https://daily.dev/posts/b2EvheLcY)

## ast-grep rewrites Tree-sitter C runtime in Rust, gets 30% parser throughput and 22% CPU reduction

The ast-grep team did a full C-to-Rust rewrite of Tree-sitter's runtime, achieving 30% better parser throughput and 22% lower end-to-end CPU time. The path there was messy: an early vibe-coding optimization pass caused segfaults and had to be scrapped, incremental parsing and Wasm grammar loading were cut to keep scope manageable, and arena allocation initially caused syscall churn across thousands of files that ate into the gains. Memory peaked at 1 GiB before arena surgery brought it down to 91 MiB. The honest lesson: a faster parser can still slow down the application if you haven't profiled the full pipeline. [Read more](https://daily.dev/posts/A1LxWChoq)

## Go GC caused 50-100ms P99 spikes in caching layer, Rust with DashMap dropped it to 1.5ms

A team running a high-throughput in-memory cache — millions of requests per second — found Go's garbage collector producing P99 latency spikes of 50-100ms. They rewrote the cache in Rust using DashMap, eliminating GC pauses entirely. Results: P99 dropped from 50ms to 1.5ms, memory usage fell 70%, and CPU usage halved. Their conclusion is worth keeping: Go remains the right default for standard microservices, but for latency-sensitive workloads where GC jitter is the bottleneck, Rust is the correct tool. [Read more](https://daily.dev/posts/MnZbCRfMJ)

---

## Also notable

- **msaRAT: Rust-based RAT routes C2 traffic through headless Chrome via WebRTC and Cloudflare Workers:** Cisco Talos published details on msaRAT, a Rust-written remote access trojan from the Chaos ransomware group that hijacks a hidden Chrome or Edge session via CDP, injects JavaScript to bypass CSP, and tunnels all C2 traffic through Twilio TURN relays and Cloudflare Workers — double-encrypted with ChaCha20-Poly1305 over WebRTC DTLS — so the attacker's IP never appears in network logs; the tell is a browser process spawned by an installer with --headless and --remote-debugging-port flags. [Read more](https://daily.dev/posts/Ng8s5uSTp)
- **OxiGeo 0.2.0: 747,000-line pure Rust GDAL reimplementation compiles to sub-1MB Wasm:** OxiGeo 0.2.0 is a 100% pure Rust geospatial library with zero C/C++/Fortran dependencies, supporting 17 format drivers including GeoTIFF, GeoParquet, and JPEG2000, with a sub-1MB WebAssembly bundle that runs client-side satellite change detection and serverless querying of a 5.9 GB GeoParquet file entirely in the browser; v1.0 LTS is targeted for Q4 2026. [Read more](https://daily.dev/posts/hfkcLi6oh)
- **RustRover 2026.2 ships Axum route navigation, Ferrocene toolchain support, and Criterion gutter launch:** RustRover 2026.2 adds IDE-level Axum support with route-handler navigation and inlay hints, Ferrocene toolchain integration via criticalup for safety-critical targets, Criterion benchmark run configurations launchable from the gutter, and an interactive declarative macro tester — plus native GitHub Copilot integration via a JetBrains-Microsoft partnership. [Read more](https://daily.dev/feed-by-ids?id=U26Dy7LSD&id=LkrxgvaEH&id=qoKOGO7pT)
- **Topcoat: full-stack reactive Rust web framework under tokio-rs avoids WebAssembly via macro-based JS cross-compilation:** Topcoat, now listed in This Week in Rust 661, is a server-rendered reactive web framework built under the tokio-rs organization that cross-compiles a subset of Rust expressions to JavaScript via macros — no Wasm — giving async components direct database access and a shadcn/ui-inspired component library; pre-1.0 but available on crates.io. [Read more](https://daily.dev/feed-by-ids?id=RFCYmWhic&id=qoKOGO7pT)
- **Gigatoken claims ~1000x tokenization speedup over HuggingFace via SIMD pretokenization, hitting 24 GB/s on 144-core EPYC:** Gigatoken is a new Rust tokenizer library benchmarking at 24+ GB/s on a 144-core AMD EPYC and 8+ GB/s on Apple M4 Max through SIMD-optimized pretokenization and aggressive pretoken caching, with drop-in compatibility modes for HuggingFace and tiktoken and support for GPT-2, Llama 3, Qwen, and DeepSeek tokenizers. [Read more](https://daily.dev/posts/EoBEw1UMO)

## Similar posts on daily.dev

- [Meta Ports React Compiler to Rust for Faster Builds and Tighter Toolchain Integration](https://daily.dev/posts/meta-ports-react-compiler-to-rust-for-faster-builds-and-tighter-toolchain-integration-rjiuvi3wl) · InfoQ · 28 upvotes · 6 comments
- [Rust Rewrite Readies Kata Containers for Agent Sandboxing](https://daily.dev/posts/rust-rewrite-readies-kata-containers-for-agent-sandboxing-b2evhelcy) · Container Journal · 0 upvotes · 0 comments
- [React Now Rusted All The Way Out – Master.dev Blog](https://daily.dev/posts/react-now-rusted-all-the-way-out-master-dev-blog-cvoi93tlu) · Frontend Masters · 16 upvotes · 3 comments

---

Tags: [#react](https://daily.dev/tags/react), [#performance](https://daily.dev/tags/performance), [#golang](https://daily.dev/tags/golang), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9","headline":"Meta ports React Compiler to Rust, Kata Containers 4.0 ships Rust runtime","text":"Meta merged a Rust rewrite of the React Compiler that runs 3x faster as a Babel plugin and up to 10x faster for isolated transforms, with Vercel reporting 20-50% faster Next.js route compilation via Turbopack. Kata Containers 4.0 replaced its Go runtime with a new Rust-based runtime-rs and the Dragonball hypervisor, targeting AI agent sandboxing on Kubernetes. The ast-grep team rewrote Tree-sitter's C runtime in Rust, hitting 30% parser throughput improvement and 22% CPU reduction, with some hard-won lessons about where the gains actually went. A caching layer migration from Go to Rust eliminated GC-induced P99 spikes of 50-100ms, dropping them to 1.5ms.","url":"https://daily.dev/posts/meta-ports-react-compiler-to-rust-kata-containers-4-0-ships-rust-runtime-rrkwlmlr9","datePublished":"2026-07-27T04:20:08.846Z","dateModified":"2026-09-13T21:24:02.081Z","author":{"@type":"Organization","name":"Rust Digest","logo":"https://media.daily.dev/image/upload/s--YNSg30Q0--/f_auto,q_auto/v1773839405/logos/rust_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/rust_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/rust_digest","name":"Rust Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Rust Digest","item":"https://daily.dev/sources/rust_digest"},{"@type":"ListItem","position":3,"name":"Meta ports React Compiler to Rust, Kata Containers 4.0 ships Rust runtime"}]}
```

