Including a julia binary or library into a mobile app via LynxJS or NativeScript?

Hi together,
this is a fantastic community, but I wish there was an IRC chat or something more like a chat.

Is it possible to create a mobile application in whatever framework and include a binary or a library compiled from Julia source code?

The goal is to write the application logic in Julia and the UI in well established frameworks, or any framework that allows Cross-Mobile Compilation.

How do I target compilation for the specific architecture on iOS devices and android devices? Is this somehow possible?

Can somebody help me achieve this in a minimum example?

Not easily. There is active work on compiler options, mainly around PackageCompiler and juliac, but there are a couple others, as well; you can look around on the forum for some of that. But nothing at the moment is going to be like, for example, Android Studio, Xcode/Swift, or mobile-centric web frameworks like Lynx.
It’s not impossible – people have gotten Julia to run on Arduino – but it’s hacky, and there are limitations. Cross compilation is also theoretically possible, but not easy. All of this should improve in the next couple years.
There is a Julia Language Slack.

1 Like

GitHub - Suzhou-Tongyuan/syslab-deploy: Deploy your Syslab/Julia applications everywhere (Windows, Linux, macOS, Android, iOS) with Rust/Flutter. proprietary solution.