by edf13 · 4y ago · 0 comments
>The PilBox App itself (called the "PilBox kernel") is written in Java, the normal Android way. It displays a WebView GUI, and starts a PicoLisp binary compiled for Arm64 CPUs. This binary may now run any PicoLisp program, by setting up a local web server where the WebView component connects to, possibly opening a database, and doing whatever is desired.
A Lisp interpreter for a single specific ABI of Android, with which you communicate through a local web server. That's... one way to build an app!
In practice, it will run on most phones.
Google is phasing out 32-bit[0] and x86 was never really a thing for Android, more than a curiosity.
0: https://www.zdnet.com/article/google-to-64-bit-android-devic...
Although if the goal is to not install the Android SDK for some reason then sure, don't really need to care about x86. Unless you want to run on Chromebooks or Windows 11, though. Then you do again.
The circle of life?
Perhaps the next step would be to implement a Java Virtual Machine in PicoLisp.
I didn't think it was possible to run native binaries on Android. Cool to see it happen :)