Migrating our Messages API to Rust
Anthropic migrated its production Messages API from Python to Rust, using the live Python service as an oracle because tests were incomplete and the API kept changing.
Topics Languages
Rust language, crates, or Rust-specific engineering.
Anthropic migrated its production Messages API from Python to Rust, using the live Python service as an oracle because tests were incomplete and the API kept changing.
Cloudflare extended Flamingo, its Rust-based end-to-end testing framework that runs hundreds of millions of tests a day against the production edge, with a DNS module to catch slow, partial DNS failures that unit tests and health checks miss.
Before launching Claude Docs, a two-week "chaos loop" had Claude Code drive a production-mirroring staging cluster at over a million synthetic docs a day, inject failures (mass reconnects, killed servers, stalled databases, hot docs), read Datadog telemetry, and ship fixes, with a human approving only hard-to-undo changes like schema or storage layout.
Rust nightly now runs the compiler frontend (type checking, borrow checking) in parallel by default since nightly-2026-11-14, to surface bugs ahead of stabilization.
Rust 1.100.0 stabilizes the never type `!` after a decade and five failed attempts, makes `Infallible` an alias for it, and switches never-type fallback from `()` to `!` in pre-2024 editions, a rare-case breaking change that may also surface more unreachable code.
tar-codec is a new Rust tar parser that uv uses from 0.13 onward to read Python source distributions.
Rust 1.99.1 is a point release fixing three regressions. LLVM's loop-idiom-wcslen pass could emit calls to `wcslen` on targets lacking it, breaking UEFI builds using `std`, so compiler-builtins now provides a fallback.
Toasty, the async Rust ORM from Tokio's creator, now supports Turso in three modes behind one API: local files with optional concurrent writes (transactions automatically wrapped in BEGIN CONCURRENT), a serverless remote mode over HTTP with URL and auth token, and local-first sync with explicit pull/push calls.
Executable UDFs are now generally available on ClickHouse Cloud across AWS, GCP and Azure, adding a Native runtime for statically linked Rust/Go/C++/JavaScript binaries, outbound network access, per-process memory limits, a deterministic flag that enables the query cache, Cloud API and Terraform support, and per-query UDF metrics in 26.6+.
Grab built sim-rs, a self-contained tick-based marketplace simulator that replays a city-day of bookings and drivers through a closed dispatch loop (demand, supply movement, cancellation models, batching, solver-based allocation, recycling) in tens of minutes, with pluggable stages, portable reproducible run packages, and built-in switchback/spatial A/B/n experiments.
Rust 1.99.0 stabilizes defining C-ABI variadic functions in Rust using `...`, typed as `VaList` (ABI-compatible with C `va_list`) with readable types gated by the `VaArgSafe` trait.
Because TypeScript 7 is compiled in Go and does not expose the ts.Transformer API cross-language, Angular is building a new compiler, the Angular Preprocessor (ngp), that decouples Angular compilation from TypeScript's compiler APIs.
tokenizers v1 encodes text 3 to 30 times faster than v0.23 single-threaded on an Apple M4 Max and scales at 76% of linear across eight cores, while producing identical token IDs and keeping the same API.
Turso offers two SQLite encryption models: native, open-source page-level encryption in its Rust rewrite of SQLite (still behind an --experimental-encryption flag, hex keys) and production-ready BYOK on Turso Cloud, where a base64 key is supplied per connection and never persisted by Turso.
Datadog built dd-trace-rs, an opinionated Rust tracer on top of the OpenTelemetry Rust SDK, to fix fragmented traces, inconsistent sampling and context loss across Rust services.
Bun 1.4 adds 1,517 newly passing Node.js test-suite tests, fixes over 2,900 issues, and rewrites Bun from Zig to Rust.
fearless_simd v0.7 adds u64/i64 vector types, completing integer and float type coverage, plus dynamic byte shuffles via swizzle_dyn, wrapping/saturating widen-narrow conversions, and element shift/rotate helpers.
Ladybird added private browsing, per-profile storage and sandboxing, undo/redo and rich-text editing, geolocation, and working WebAudio in July 2026, and moved most of LibWeb's style and layout pipeline to Rust.
Servo 0.4.0 bundles a record 558 June commits, adding CSS features like experimental attr(), deferred calc() resolution and many media queries (device-width, aspect-ratio, pointer, hover), plus DOM APIs including SharedWorker, CustomElementRegistry constructors and new SubtleCrypto algorithms.
Codex's /goal mode works best for vulnerability hunting when the prompt defines a precise, calibrated outcome rather than a path, and when each agent pursues exactly one outcome.
fearless_simd v0.6 adds AVX-512 support for all operations, including safe invocation of AVX-512 intrinsics through the kernel! macro.
ClickHouse released an official ADBC (Arrow Database Connectivity) driver, written in Rust, that returns query results as Apache Arrow end to end with no row-oriented conversion or staging step.
Bun, a 535k-line Zig JavaScript runtime, was mechanically ported to Rust over 11 days using about 50 continuously running Claude Code workflows.
Turso, a from-scratch SQLite rewrite, is adding formal verification via Aretta AI's Aristo, which turns natural-language intents annotated on code into formally checked properties, to complement its deterministic simulation testing and Antithesis runs.