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?

You are viewing a single thread.
View all comments View context
7 points

Your answer wanders a bit unnecessarily IMHO.

  • no-std Rust has no run-time dependencies of its own.
  • std Rust runtime-requirements are basically libc, a heap allocator, and a threading library. Many implementations on many OSes are already supported, including musl on Linux. And what’s not supported can theoretically be so in the future.
  • Code generation at build-time is dependent on LLVM, with cranelift and (soon) GCC available as not fully mature alternatives.
  • 3rd party code/crates may impose additional requirements.
permalink
report
parent
reply
1 point

I did not really mean that out of the box there would be incompatibilities, more likely within unsafe blocks and external crates

permalink
report
parent
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 503

    Monthly active users

  • 285

    Posts

  • 1.3K

    Comments