News for hackers. Stuff that matters.
Re:Xi editor: A modern editor with a backend written in Rust by Cyph0n on Wednesday April 27, 2016 @06:21AM (#11579144)
The main advantage is Rust's ownership model. It allows you to catch most memory problems at compile time.

https://doc.rust-lang.org/book/ownership.html

Re:Xi editor: A modern editor with a backend written in Rust by akadien on Wednesday April 27, 2016 @07:44AM (#11579492)
And it's one of the languages features that has a very steep learning curve. Rust forces your design into its model.

Interestingly, rustc also seems to generate programs that leak memory. I recall an issue where the simple and venerable "hello world" program in Rust (i.e., println!) had memory leaks.

Re:Xi editor: A modern editor with a backend written in Rust by steveklabnik on Wednesday April 27, 2016 @09:06AM (#11579998)
That shouldn't be true. Please file bugs!
Re:Xi editor: A modern editor with a backend written in Rust by akadien on Wednesday April 27, 2016 @09:07AM (#11580015)
Re:Xi editor: A modern editor with a backend written in Rust by steveklabnik on Wednesday April 27, 2016 @10:03AM (#11580498)
Great, thanks.