Lazarus
Programming => General => Topic started by: yann on January 11, 2019, 03:16:21 pm
-
Hey, guys. Why the android frameworks currently use native compilation to android instead the fpc to jvm? It need to uses "bridges" to UI. Is not a better way compiles to jvm like Kotlin? Is it possible, at least?
I'm not native english speaker. Sorry.
-
Android JVM forum board:
http://forum.lazarus-ide.org/index.php/board,56.0.html
PAndroid Project:
https://github.com/zeljkoc/pandroid
-
Hey, guys. Why the android frameworks currently use native compilation to android instead the fpc to jvm? It need to uses "bridges" to UI. Is not a better way compiles to jvm like Kotlin? Is it possible, at least?
I'm not native english speaker. Sorry.
Both are available, but it seems that the native one is more popular, probably due to less language restriction (none to be precise) than fpc jvm, which makes code sharing harder. fpc jvm is of course fully functional and you can already make pure JVM based Android application with it, not to mention it can also target regular JVM as you would make normal Java programs in Java.