Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Martin Geisler
@mgeisler@ohai.social  ·  activity timestamp 2 days ago

@Rin3d @protonprivacy We use it as the cross-platform foundation for our apps (and I'm told the backend and storage teams are also looking into using Rust).

So basically, we write our business logic in Rust and compile it to #WebAssembly ( #Wasm) for the web, and to a shared object for loading into #Kotlin for #Android and a static library for use in #Swift for #iOS. We also have #Windows desktop clients to eventually support.

It's basically the age-old dream of write once, run everywhere 😄

  • Copy link
  • Flag this post
  • Block
Martin Geisler
@mgeisler@ohai.social replied  ·  activity timestamp 2 days ago

@Rin3d @protonprivacy See https://proton.me/blog/authenticator-rust for a good introduction to how the new authenticator app uses Rust. The other apps will function similarly — the newly released Mail apps for Android and iOS are examples as well: https://proton.me/blog/new-mail-apps. The blog post says that the apps now share 80% of the code across the platforms.

Proton

How Rust powers Proton Authenticator | Proton

To build a secure 2FA app for all major devices, Proton turned to Rust. Carlos Quintana explains why we chose Rust and why we'll likely use it more in the future.
Proton

Proton Mail launches new, faster mobile apps with offline mode | Proton

See what’s new in the redesigned Proton Mail app for iOS and Android. Enjoy offline mode and a smoother experience on both platforms.
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login