Rust in javascript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

    Rust is a low level, memory efficient programming language. It is mainly used in systems, where performance is important like game engines, operating systems, and databases, etc. So it makes a great choice for building transpilers and bundlers for javascript. Rust is being used by big companies like Discord, Nextjs, AWS, Cloudfare, etc. This doesn't mean web developers have to start learning rust right-away, but you can start using tools which are built on rust and slowly start adopting rust into your flow. The following are the few interesting tools built on top of rust for javascript,

  • vercel

    Develop. Preview. Ship.

    SWC is used for bundling and transpiling javascript / typescript and produce a output which is accepted by most browsers. SWC is said to be 20X faster than Babel, where the former is built on rust and the latter is built using javascript. SWC is maintained by Vercel and Nextjs is actively using it for their ecosystem. The following are the features they support right now,

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • swc

    Rust-based platform for the Web

    SWC is used for bundling and transpiling javascript / typescript and produce a output which is accepted by most browsers. SWC is said to be 20X faster than Babel, where the former is built on rust and the latter is built using javascript. SWC is maintained by Vercel and Nextjs is actively using it for their ecosystem. The following are the features they support right now,

  • emsdk

    Emscripten SDK

    There are various libraries / compilers out there to convert different languages to web assembly, for example to convert C++ to wasm there is Emscripten, also there is Asterius, a Haskell to wasm compiler, and another library to convert typescript to wasm is Assembly script. Rust actually compiles to wasm so that we can run it in browsers, The Rust team is committed to a high-quality and cutting-edge WASM implementation.

  • deno

    A modern runtime for JavaScript and TypeScript.

    Deno is a runtime environment for javascript like Node.js, but unlike node it can also be used as a runtime environment for typescript and webAssembly. Deno is built on rust and it also uses SWC for linting and code formatting. It is considered to be the improved version of node in terms of speed and secureness. It was mainly built to avoid the use of a centralized repository system (npm), and “heavy-handed tooling.”

  • babel-sublime

    Syntax definitions for ES6 JavaScript with React JSX extensions.

    SWC is used for bundling and transpiling javascript / typescript and produce a output which is accepted by most browsers. SWC is said to be 20X faster than Babel, where the former is built on rust and the latter is built using javascript. SWC is maintained by Vercel and Nextjs is actively using it for their ecosystem. The following are the features they support right now,

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts