- May 25, 2021
- Posted by: Aelius Venture
- Category: Coding
We posed the question on Twitter, and the following are some of the responses:
Build compilers and tools:
- Snowpack, Vite, and Hugo all use it.
Linters and code formatters:
- dprint is a code formatting platform for Rust.
Using command-line utilities:
- Fast Node Manager (fnm) is a Node.js version manager written in Rust.
- They can be compiled into native binaries, which run faster.
- Parallelization is greatly simplified in many languages.
A non-JS language might also be better suited for a given mission, given that each language has its own specialties. For example, algebraic data types are supported by OCaml/ReasonML, Haskell, and other functional languages, which aid in the processing of data structures such as abstract syntax trees, which are used while parsing and/or compiling formal languages.
- You can “dog-food” a language tool by applying it to the tool’s code. As a result, working on the tool’s codebase allows you to better understand what you want from it.
AssemblyScript may be a good choice if speed is a priority: It’s a TypeScript version that’s compiled into WebAssembly.
July 14, 2021