The rescript compiler appears to compile faster than anything with similar type complexity, i.e. Rust, Jsoo, Scala, Haskell. (esbuild feels faster, but esbuild mostly just strips away TS type signatures).
What is the rescript compiler giving up by compiling so fast? What is being sacrificed ?
2 Likes
The rescript compiler appears to compile faster than anything with similar type complexity, i.e. Rust, Jsoo, Scala, Haskell.
For sure rescript language is more simple and has less constructs than any of those, that’s where the speed comes from, combined with the fact that Rescript syntax is closer to js, so compilation has less complexity than rust to native code, or Scala to java bytecode, also being writtern in OCaml allows some degree of speed.