3 ms·
Hadn’t heard of SWC, only esbuild. Why did your team choose SWC/rust over esbuild/go? This: https://mobile.twitter.com/rauchg/status/979525321882984448 https://
by dmitryminkovsky 5y ago
Hadn’t heard of SWC, only esbuild. Why did your team choose SWC/rust over esbuild/go? This: https://mobile.twitter.com/rauchg/status/979525321882984448 https://mobile.twitter.com/rauchg/status/979525321882984448 ?
Thanks a lot for Next.js and the Vercel platform. Both are great.
- leerob 5y agoWe chose SWC over esbuild for a few reasons: 1. SWC is designed to be extensible. We can use it as a crate with no forks! [1] 2. We love the Rust ecosystem. Stellar community & WASM support. Excellent long-term performance prospects (like total control over memory management). [1]: https://github.com/padmaia/next.js/blob/cf1d081c5b2f55085cebc9509b13c67c4bf34bd1/packages/next/build/swc/src/lib.rs#L40-L46 https://github.com/padmaia/next.js/blob/cf1d081c5b2f55085ceb...