4 ms·
> I think the issue with Clojure is that it does runtime bytecode rewriting for macros This is actually very rare; nearly all bytecode generation in Clojure ap
by technomancy 15y ago
> I think the issue with Clojure is that it does runtime bytecode rewriting for macros
This is actually very rare; nearly all bytecode generation in Clojure apps can happen ahead-of-time. But Clojure relies heavily on Hotspot's world-class JIT (the bytecode Clojure's compiler outputs is only optimized in so far as making it easy for Hotspot to optimize it.)
In addition, use of persistent data structures puts more strain on the GC; another place where Hotspot is leaps and bounds ahead of Dalvik. You can bypass this by using Java arrays directly, but it's very awkward and un-idiomatic.
- ygooshed 15y agoi love to use scala on android. has anyone developed any 'real' app with scala on android?