Running Julia on Android with Flutter & SyslabCC AOT (7.2MB only!)

The repo is here, and you can directly build it as a regular Flutter project.

thautwarm/julia-android-example: Running Julia Code on Android with Flutter (UI) & Rust (Build System) & SyslabCC (Julia AOT Compiler)

Unfortunately, the SyslabCC released for public use currently does not work with Flutter Windows/macOS build. You might just use the Android build, or build it under some Linux distro.

The built APK is a small scientific app for running heat equation simulation. The callsite of the Julia function is made in Rust (using Rinf) at here, which is simply a ccall in Rust.

21 Likes

You can build the releases yourself with simply:

 flutter build apk --split-per-abi

Also, the prebuilt releases can be downloaded from Releases · thautwarm/julia-android-example, enjoy it!

1 Like

This video shows UI/Julia interactions inside the app:

4 Likes

cool!

This is so, so cool!