@jorendorff I have a dumb Rust question... Does the "no mutable aliases" rule mean I cannot "soundly" use Rust instead of C++ for all my programming tasks? It'd be simplifying if I knew in my head I could always replace C++ with Rust for all use cases.
Well, obviously that’s not true, because there are GTK+ bindings for instance.
-
-
I don't think "obviously" applies here, I had no idea. How do they deal with the "no shared mutable aliasing" constraint?
-
I’m not super familiar with the GTK bindings, but I think that in GTK you don’t reach inside objects much. Instead you use accessor/mutator functions.
- 8 more replies
New conversation -
-
-
Are the bindings pure Rust or is there C glue needed?
-
Pure Rust I think
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.