Hacker News new | ask | show | jobs
by oconnor0 2754 days ago
I don't think I'd call Rust user friendly.
1 comments

If the problem is the type system/borrow checker, it's simply a question of experience.
Not when writing GUI like code, to the point that the Rust team acknowledges that additional work needs to be done after NLL lands on stable.

http://smallcultfollowing.com/babysteps/blog/2018/11/01/afte...

http://smallcultfollowing.com/babysteps/blog/2018/11/10/afte...

So while Rust is much more productive than ATS or Cyclone, there is still room of improvement for that experience.

There's always room for improvement, but speaking of GUI, gtk-rs is pretty usable already.
It is, if you don't mind sprinkling your code with Rc<RefCell<item>> everywhere, as means to access widget struct members in callbacks.