SWC is an extensible Rust-based platform for the next generation of fast developer tools. It's used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, and more. SWC can be used for both compilation and bundling. For compilation, it takes JavaScript / TypeScript files using modern JavaScript features and outputs valid code that is supported by all major browsers. SWC is 20x faster than Babel on a single thread and 70x faster on four cores. SWC can be downloaded and used as a pre-built binary, or built from the source. SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. It's a library for Rust and JavaScript at the same time. If you are using SWC from Rust, see rustdoc and for most users, your entry point for using the library will be parser. If you are using SWC from JavaScript, please refer to the docs on the website.

Features

  • SWC is 20x faster than Babel on a single thread and 70x faster on four cores
  • Compilation support
  • Supports transforming with WebAssembly
  • Usage inside webpack (swc-loader)
  • Improving Jest performance
  • Custom Plugins

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow SWC

SWC Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SWC!

Additional Project Details

Operating Systems

Linux

Programming Language

Rust

Related Categories

Rust Software Development Software, Rust Web Services Software

Registered

2022-04-06