szmer
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
KitaitiMakoto@lemmy.ml to Rust Programming@lemmy.ml · 3 years ago

Xilem: an architecture for UI in Rust

raphlinus.github.io

external-link
message-square
1
fedilink
  • cross-posted to:
  • rust@lemmy.ml
4
external-link

Xilem: an architecture for UI in Rust

raphlinus.github.io

KitaitiMakoto@lemmy.ml to Rust Programming@lemmy.ml · 3 years ago
message-square
1
fedilink
  • cross-posted to:
  • rust@lemmy.ml
Rust is an appealing language for building user interfaces for a variety of reasons, especially the promise of delivering both performance and safety. However, finding a good architecture is challenging. Architectures that work well in other languages generally don’t adapt well to Rust, mostly because they rely on shared mutable state and that is not idiomatic Rust, to put it mildly. It is sometimes asserted for this reason that Rust is a poor fit for UI. I have long believed that it is possible to find an architecture for UI well suited to implementation in Rust, but my previous attempts (including the current Druid architecture) have all been flawed. I have studied a range of other Rust UI projects and don’t feel that any of those have suitable architecture either.
alert-triangle
You must log in or # to comment.
  • charlie_root@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 years ago

    deleted by creator

    • Lemmy sucks@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago

      Removed by mod

Rust Programming@lemmy.ml

rust@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 16 users / day
  • 16 users / week
  • 60 users / month
  • 487 users / 6 months
  • 14 local subscribers
  • 8.88K subscribers
  • 376 Posts
  • 923 Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • Joe@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org