A project written to test performace of the languages Kotlin, Dart, Rust and Wasm on android app by getting how many times a language can get total number prime numbers between a range, in 5 seconds, got the idea from Dave's Garage on Youtube
-
Rust 1.69+
-
Flutter 3.x+
-
cargo-ndk. Can be installed via cargo with:
cargo install cargo-ndk
First compile the rust library, then move it to jniLibrary dir of android file using cargo-ndk
cargo ndk -t armeabi-v7a -t arm64-v8a -t x86_64 -t x86 --no-strip -o ./android/app/src/main/jniLibs build --release
Run the flutter app
flutter run
or build
flutter build