3 ms·
True, but its main target is definitely the browser. The stand-alone interpreter of Node.js can run code written in Scala.js, and is actually used for benchmark
by sjrd 13y ago
True, but its main target is definitely the browser. The stand-alone interpreter of Node.js can run code written in Scala.js, and is actually used for benchmarks (along with d8) [1]. However, Scala.js does not emit Node.js modules, nor does it provide any built-in way to import other Node.js modules.
[1] https://github.com/jonas/scalajs-benchmarks https://github.com/jonas/scalajs-benchmarks