swc

swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (by swc-project)

Swc Alternatives

Similar projects and alternatives to swc
  • GitHub repo esbuild

    An extremely fast JavaScript bundler and minifier

  • GitHub repo node-rs

    NodeJS bindings ❤️ Rust crates

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo rust-analyzer

    An experimental Rust compiler front-end for IDEs

  • GitHub repo rust-raspberrypi-OS-tutorials

    :books: Learn to write an embedded OS in Rust :crab:

  • GitHub repo sucrase

    Super-fast alternative to Babel for when you can target modern JS runtimes

  • GitHub repo alacritty

    A cross-platform, OpenGL terminal emulator.

  • GitHub repo tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

  • GitHub repo actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

  • GitHub repo vega

    A visualization grammar.

  • GitHub repo wasmer

    🚀 The leading WebAssembly Runtime supporting WASI and Emscripten

  • GitHub repo delta

    A viewer for git and diff output

  • GitHub repo ruffle

    A Flash Player emulator written in Rust

  • GitHub repo bevy

    A refreshingly simple data-driven game engine built in Rust

  • GitHub repo rayon

    Rayon: A data parallelism library for Rust

  • GitHub repo wasmtime

    Standalone JIT-style runtime for WebAssembly, using Cranelift

  • GitHub repo MIO

    Metal IO library for Rust

  • GitHub repo gitui

    Blazing 💥 fast terminal-ui for git written in rust 🦀

  • GitHub repo async-std

    Async version of the Rust standard library

  • GitHub repo czkawka

    Multi functional app to find duplicates, empty folders, similar images etc.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better swc alternative or higher similarity.

Posts

Posts where swc has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-02-16.
  • Why Is Esbuild Fast?
    news.ycombinator.com | 2021-02-16
    Hey, I was trying to do this same thing for a TypeScript project I was bootstrapping. Digging around the issue tracker, I recall the maintainer stating that this is currently not in the scope of esbuild, and that swc[0] might be better suited for this.

    Personally, I wrote a crude JS script using the esbuild transform API + node-watch to compile .ts files and copy files/folders during development. This is all very recent, so I can't ensure that it's bulletproof quite yet.

    [0] https://swc.rs/

    news.ycombinator.com | 2021-02-16
    swc (https://github.com/swc-project/swc) is a rust equivalent to babel and has a bundler under development. Not sure how far along it is.

    That would be an interesting comparison of performance and features.

    news.ycombinator.com | 2021-02-16
    swc is more ambitious, it wants to re-implement all of tsc type checking, not only transpiling: https://github.com/swc-project/swc/issues/571
    news.ycombinator.com | 2021-02-16
    Yup, impressive.

    SWC, another competitor project written in rust is also handled exclusively by a single person. Half a million lines of code and they have even built a type checker which is not open source.

    https://github.com/swc-project/swc/graphs/contributors

  • news.ycombinator.com | 2021-02-06
    It appears like SWC will get a port of terser soonish:

    https://github.com/swc-project/swc/pull/1302

  • JS minification benchmarks: babel-minify, esbuild, terser, uglify-js
    Check out esbuild and SWC.
  • Browser live reload template?
    Agreed that it used to be a headache but it's become much easier in the past few years. Babel, or swc (a babel alternative built in Rust that's crazy fast) now support typescript out of the box and both have loaders available.
  • Compilers Are Hard
    news.ycombinator.com | 2021-01-20
    I've never used it, but [1] claims to be a much faster js/typescript compiler than some of its competitors and written in Rust.

    1. https://github.com/swc-project/swc

  • Thank you TS 4.1.3! Type-safe infinite depth lookups
    also i've heard of this project but never tried it https://github.com/swc-project/swc
  • [email protected] Released, build fast and safe NodeJS native addon in Rust
    reddit.com/r/rust | 2020-12-29
    About performance, I tested in swc long time ago, in swc scenario napi-rs is 2x faster than neon's legacy backend: https://github.com/swc-project/swc/issues/852. Compare with the neon's napi backend, the performance won't be very different. But the napi backend of neon is incomplete.
  • Rusticles #19 - Wed Nov 11 2020
    dev.to | 2020-11-10
    swc-project/swc (Rust): swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.
  • Rusticles #15 - Wed Oct 14 2020
    dev.to | 2020-10-14
    swc-project/swc (Rust): swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.

Stats

Basic swc repo stats
7
10,927
9.3
6 days ago

swc-project/swc is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.