3 ms·
On my machine, a "hello world" program runs 100x faster on Janet compared to Clojure.[1] [1] https://gist.github.com/eigenhombre/ea1d2c6d2fcd5b5c9ca7e8dfd213e5
by eigenhombre 4y ago
On my machine, a "hello world" program runs 100x faster on Janet compared to Clojure.[1]
[1] https://gist.github.com/eigenhombre/ea1d2c6d2fcd5b5c9ca7e8dfd213e508 https://gist.github.com/eigenhombre/ea1d2c6d2fcd5b5c9ca7e8df...
- capableweb 4y agoMakes a lot of sense. Babashka will be faster than Clojure as well. Where Clojure shines, is long-running processes. Try the same benchmark, but instead printing "hello world" 1000000x times and compare it, and you'll have a benchmark showing Clojure's strength rather than weakness. In the end, benchmarks usually show what the author(s) wanted to show with the benchmark.
- ducktective 4y agoWhat about Babashka vs Janet? In terms of utility, libraries and startup times...