5 ms·
Unfortunately, Node.js and V8 seem to be about 2.5X slower than JavaScriptCore for bootstrapped ClojureScript. I haven't found a way around it. I also don't mea
by anmonteiro90 10y ago
Unfortunately, Node.js and V8 seem to be about 2.5X slower than JavaScriptCore for bootstrapped ClojureScript. I haven't found a way around it.
I also don't mean to trick anyone and this is explained in the post.
- lispm 10y agoTo me 'fast' means more than startup time. The headline is just clickbait. The time you are reporting is also not that 'fast'. Other tools start in a fraction of that time.
- grzm 10y agosbcl isn't Clojure, is it? Or am I mistaken? I don't see the article or its title comparing it to repls in general. Edit: original comment mentioned sbcl and included sbcl repl start-up time.
- lispm 10y agoBetter title would be: 'less slowest starting Clojure REPL of three' Mentioning 'fastest' at a time of 3GHZ multicore machines with SSD and a duration of 0.1 seconds is just absurd. That's >100 million instructions just to start a language prompt and evaluating a symbol to itself. The Java version is even more absurd with around 1 billion instructions just to get a REPL... A shell on a 1 MIPS DEC VAX 11/780 started faster, while the machine had a hundred users.
- fnordsensei 10y agoWhat tools? What are you comparing it to?
- lispm 10y agoBasically any self respecting scripting language starts at a fraction of the time of the 'world fastest Clojure REPL'.