Bare Metal Rust in Android

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern API for authentication & user identity.
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • gio

    Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)

    I didn't bash Java/Kotlin. In fact, I have written few android apps in Kotlin, Java and I also have fiddled with Jetpack compose, JNI and NDK (I have also played with mpv's Opengl/Vulkan's rendering on Android if that matters to you). I don't want to share the projects of mine because i don't want to reveal my identity.

    > https://gioui.org/

    I know that tailscale's android application is written in it but i don't think gioui is great for android apps.

    > Tell me you've never done any Android development, without telling me...All this Java/Kotlin bashing is getting really old, especially for a forum like this one.

    Ok, this one hurts. Why are you attacking me instead of defending your stance. All are allowed to have opinions and I am allowed to have one(It's sad to explain this to someone on forum like this one). I dream of Linux-desktop kinda situation where you can program in any language you want, where you are not hindered by any platform/framework, where you have complete freedom and where you don't want to be bothered/(vendor locked-in) by Bigcorps(looking at you Google services framework).

    > write GUIs in a non-GC language like Rust which _has_ to run on what's essentially a Java VM (ART).

    Haha, non-GC languages power the GUIs on Android fyi. Jetpack compose is powered by Skia. Chromium is powered by Skia. Skia is C++.

    Please do your own research before commenting low-effort replies.

  • tauri

    Build smaller, faster, and more secure desktop applications with a web frontend.

    Isn't this what Tauri wants to achieve? At least it's on the roadmap I mean.

    https://tauri.app/

    Does anyone have any experience creating production apps with Tauri? Seems like a sane alternative to Electron, especially if they can target all major platforms and keep the promise of smaller footprints.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • ndk

    Rust bindings to the Android NDK (by rust-mobile)

    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.

  • capacitor

    Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

    The traditional alternative to Electon on mobile platforms is Capacitor (which uses the system webview):

    https://capacitorjs.com/

    (fka Apache Cordova, fka PhoneGap)

  • usbarmory

    USB armory - The open source compact secure computer

    > Since 80s everybody designs systems on top of C.

    More like since the 1990's, and mostly thanks to the GNU Manifesto and FOSS uptake that took the steam out of C++ adoption being pushed by Apple, IBM and Microsoft.

    There is firmware in production written in Go,

    https://www.withsecure.com/en/solutions/innovative-security-...

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts