Which is faster, Clojure or ClojureScript (and why)?

后端 未结 3 606
忘掉有多难
忘掉有多难 2021-02-02 13:08

If I had to guess, I\'m pretty sure the answer is Clojure, but I\'m not sure why. Logically (to me) it seems like ClojureScript should be faster:

Both are \"dynamic\",

3条回答
  •  眼角桃花
    2021-02-02 13:37

    This is not so much an answer as an historical comment: Both the HotSpot VM and the V8 js engine can have their origins traced to the Self project at Sun Microsystems, which I think prototyped a lot of the technology that allows them to run as fast as they do. Something to consider when comparing them both. I would've posted this as a comment but the reputation system prevented me.

提交回复
热议问题