What watches can run Rust?
from chevy9294@monero.town to rust@programming.dev on 11 Aug 2024 12:08
https://monero.town/post/3958319
from chevy9294@monero.town to rust@programming.dev on 11 Aug 2024 12:08
https://monero.town/post/3958319
Maybe a little weird question but do you maybe know a smart watch that can run rust? I got running Egui on my Galaxy Watch 4 with WearOS and I’m thinking if any other watch (other than Galaxy and Pixel) can do that?
threaded - newest
Do you mean compiler running on the Watch? Because the compiled code is no longer Rust and therefore there is no reason why it should not run on the Watch. Or do you mean specifically applications with the Rust library Egui?
I mean applications with any Rust GUI library that can interact with watch’s OS.
.
Anything that can run C++ should be able to run Rust if you use the LLVM backend, perhaps except when a watch uses musl libc and you rely on some glibc-only call in your program. afaik the only physical devices shipping with musl are car infotainment systems based on l4 kernels and networking hardware (OpenWRT).
Your answer wanders a bit unnecessarily IMHO.
I did not really mean that out of the box there would be incompatibilities, more likely within unsafe blocks and external crates
Pinetime: github.com/lupyuen/pinetime-rust-mynewt
There are two people on GH working on watchy rust firmwares