ndk
ndk | rust-android-gradle | |
---|---|---|
5 | 6 | |
1,124 | 1,094 | |
2.0% | 3.3% | |
6.8 | 4.6 | |
7 days ago | 6 months ago | |
Rust | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ndk
-
Bare Metal Rust in Android
You can already. The ndk allows any language to be compiled to android. For rust see
https://github.com/rust-mobile/ndk
Which has the tools to do this.
-
Using Rust instead of C++ for Android NDK development
I found an official introduction to the topic: https://source.android.com/docs/setup/build/rust/building-rust-modules/overview I found these bindings and even tried to make the examples work without luck: https://github.com/rust-mobile/ndk There even exists an interface with the C++ library I am using: https://docs.rs/oboe/latest/oboe/
-
Is the Rust ecosystem capable of making a cross-platform mobile game with p2p Bluetooth yet?
Is something wrong with https://github.com/deviceplug/btleplug or you haven't found it? You could also use bindings to platform libraries like https://github.com/microsoft/windows-rs and https://github.com/rust-mobile/ndk if btleplug doesn't have something fundamental to you.
-
Rust for mobile development?
There's cargo-apk which is godsent extension making the process of building an apk as easy as cargo apk build. Although I wasn't able to make it fully work on my native machine, so I used miniquad's docker image, installed cargo-apk, and then built.
- Is there any other language that has something crucial that Rust hasn't? Minus libraries.
rust-android-gradle
-
Rust with FTC
I thought for a second you meant physical rust... Anyway, rust doesn't have any benefits in FTC. If you really needed to use it you could try to use this but you still won't have any way of using the FTC SDK as it was built for java(at least without porting it to rust which will be a ton of work).
-
Cross-platform (Android, iOS) rust library
Is there any easy way to do this? I've seen this plugin as well, but it looks pretty much the same
-
Blog Post: Rust Is a Scalable Language
That's significantly better than the C world where each project comes bundled with a bespoke build system that nobody else uses. I'm also not convinced that cargo present a significant barrier to interop. There's a Rust plugin for gradle (https://github.com/mozilla/rust-android-gradle) which bridges between gradle and Cargo. Looks simple enough to me.
-
You Have Mail: Email Notification on Android without Google Play Services
rust-android-gradle to hook cargo into Android Gradle project
-
Rust for mobile development?
This works great for android https://github.com/mozilla/rust-android-gradle
-
Status quo on developing for Android in Rust
The mozilla gradle plugin makes compiling and packaging rust libraries quite painless. The jni-crate can be used on Android as well.
What are some alternatives?
stretch - High performance flexbox implementation written in rust
uniffi-rs - a multi-language bindings generator for rust
cargo-mobile - Rust on mobile made easy!
apollo-framework - The Apollo framework is a toolkit for building stable and robust server software.
flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
vulkan-tutorial-rs - Vulkan tutorial written in Rust using Ash
yew-pwa-minimal - A minimal Progressive Web App using Yew.
btleplug - Rust Cross-Platform Host-Side Bluetooth LE Access Library
BlueEngine - Blue Engine is a general-purpose and easy-to-use graphics engine written in rust.
Weylus - Use your tablet as graphic tablet/touch screen on your computer.
rustdesk - An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.