Hi everyone, i’ve been using Julia for 2/3 months and i’ve created an optimization function with Ipopt to solve a non-linear problem. Now i want to export this function to a library to make it execute on smartphone with OS such as iOS and Android. My question is : is it possible with PackageCompiler to create this library and make it executable on smartphone with Dart for example? I’m not an expert of those languages but a friend of mine told me that is possible to integrate julia on smartphones so i’m asking you for advices. Thank you for your help and support!
Perhaps the commercial Syslab compiler covers your needs?
To my knowledge, this has not been attempted so far. There would be two complications, though:
- PackageCompiler produces large binaries/libraries which would bloat the application;
- Cross-compilation is currently not supported
The bloat from PackageCompiler is being worked on with the juliac
, which seems to be progressing well and can produce small binaries. Regarding the lack of cross-compilation support, it could be overcome for Android platforms treating it as arm64 Linux and compiling the application on Raspberry Pi or using GitHub actions.
I would be eager to see progress in this area.
Thank you for your suggestion, i’ll explore this solution to see if it is suitable for my application.
Thank your for your help! I’ll follow your advice about Raspberry Pi cause i’ve got some experience on it and maybe it is the right way to overcome my problem.