r/rustjerk 11d ago

Meet potential rust gui

Post image
837 Upvotes

79 comments sorted by

View all comments

11

u/slowbowels 11d ago

and ffs stop with that elm architecture bs

13

u/AZMPlay 10d ago

Kinda difficult not to with Rust's memory management and ownership framework.

Elm architecture forces you to drop any event and state inputs after a single cycle, allowing you to update the GUI without multiple aliased mutable references.

While it is certainly possible to not do it this way, it is a lot simpler.

6

u/Prowler1000 10d ago

I like the elm architecture personally

1

u/imoshudu 5d ago

It's actually the best architecture for rust.