Recent

Author Topic: Programming for android with FPC to JVM  (Read 1140 times)

yann

  • Newbie
  • Posts: 2
Programming for android with FPC to JVM
« 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.

jmpessoa

  • Hero Member
  • *****
  • Posts: 1220
Re: Programming for android with FPC to JVM
« Reply #1 on: January 11, 2019, 10:32:50 pm »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Leledumbo

  • Hero Member
  • *****
  • Posts: 7994
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Programming for android with FPC to JVM
« Reply #2 on: January 12, 2019, 08:03:08 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.
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.