ndk
stretch
ndk | stretch | |
---|---|---|
5 | 5 | |
1,044 | 1,968 | |
1.5% | 0.7% | |
8.0 | 0.0 | |
7 days ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
stretch
-
A "lawful" framework for styling/formatting UIs?
The most common is flexbox (an attempt to a cross-platform engine at https://github.com/vislyhq/stretch).
-
Bevy 0.6
There's a few critical subtasks here: - determine the data flow model we'd like to use for our UI. We'd like to integrate tightly into the ECS, but need to figure out how to reduce the boilerplate and improve reliability around working with hierarchies. - swap our layout library. Our current dependency stretch implements the flexbox algorithm, but is unmaintained and has critical bugs :( The three main options here are to fork flex, move to the new morphorm crate, or write a layout library from scratch - consider rearchitecting our UI to be more flexible and compositional: splitting the massive Style component into several parts and moving to a "UI is a collection of behaviors" paradigm - build out more widgets! - more docs and examples!
-
Releasing Dioxus v0.1 - a new Rust GUI toolkit for Web, Desktop, Mobile, SSR, TUI that emphasizes developer experience
That would probably entail integration with bevy, or some other game engine to get the UI drawn. Our TUI crate uses https://github.com/vislyhq/stretch/ to lay out the elements, so I imagine you could use that but just draw with WGPU.
-
React Native Team AUA - Thursday Oct. 14, 9am PT
Are there any plans to make yoga fully conformant to the web implementation of flexbox? For example, migrating to use stretch instead?
-
Rust GUI Infrastructure
https://github.com/vislyhq/stretch exists, I don’t know how well it would do at all this.
What are some alternatives?
Weylus - Use your tablet as graphic tablet/touch screen on your computer.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
cargo-mobile - Rust on mobile made easy!
react-native-skia - High-performance React Native Graphics using Skia
apollo-framework - The Apollo framework is a toolkit for building stable and robust server software.
react-native-skia - Cross platform React Native solution to draw graphics based on Skia
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
macroquad - Cross-platform game engine in Rust.
metro-minify-esbuild - Use ESBuild to make your React Native code bundle faster.
btleplug - Rust Cross-Platform Host-Side Bluetooth LE Access Library
yoga - Yoga is an embeddable layout engine targeting web standards.