3 ms·
Also, in theory you ought to be able to use the Android NDK to get the native C versions of Ruby and/or Python going. It’d be a slog, but the idea doesn’t
by Estragon 17y ago
Also, in theory you ought to be able to use the Android NDK
to get the native C versions of Ruby and/or Python going.
It’d be a slog, but the idea doesn’t seem insane.
I'd be really interested to hear about anyone doing this. Seems like you pay a heavy price for dynamicity on Dalvik, because introspection is expensive.
- bad_user 17y ago> Seems like you pay a heavy price for dynamicity on Dalvik, because introspection is expensive Citations? On Android it seems to me that all APIs are running on top of Dalvik, so to use other interpreters (outside of Dalvik) means you have to pay the price for IPC calls (coupled with an interpreter that isn't optimized for mobiles).
- Estragon 17y agoSearch for clojure on android.
- nl 17y ago"all APIs are running on top of Dalvik" No, the NDK (Native Development Kit) allows you to bypass Dalvik for some APIs - OpenGL ES, math, compression etc. The complete list is on http://developer.android.com/sdk/ndk/index.html http://developer.android.com/sdk/ndk/index.html
- barrkel 17y agoFWIW, native Python already runs on my Nexus One, from the ASE - http://code.google.com/p/android-scripting/ http://code.google.com/p/android-scripting/ It uses RPC to do Android-native calls though.