Related: Next.js is rewriting its core with a Rust-based compiler. SWC (JavaScript and TypeScript compiler written in Rust) will replace two toolchains used in Next.js: Babel for individual files and Terser for minifying output bundles. Early tests are showing twice as fast builds, with further optimizations to come. We're betting on Rust as the future of JavaScript infrastructure.