4 ms·
Uh, I didn't expect that. How come? Does it mean that writing a Clojure-to-Java transpiler would yield better results than using the "native" Clojure implementa
by simias 13y ago
Uh, I didn't expect that. How come? Does it mean that writing a Clojure-to-Java transpiler would yield better results than using the "native" Clojure implementation?
It seems backwards to me that an implementation designed specifically for functional programming fails to beat the more "generic" (or arguably OOP-oriented) language on its own turf.
- chii 13y ago> Does it mean that writing a Clojure-to-Java transpiler would yield better results than using the "native" Clojure implementation? yea, it does sound weird, because if a closure-to-java compiler yields better results, then why not just use that as the closure compiler? I agree that hand writing a piece of code in java that did the exact same thing as a piece of closure code would be faster in java than closure, because the programmer could make shortcuts where he knows he could.