Re:Rust: Systems Programming for Everyone
by steveklabnik on Saturday August 20, 2016 @11:39AM
(#12327029)
> forgoing the advances made in C++ and Dlang
Which ones are those?
Re:Rust: Systems Programming for Everyone
by soulbadguy on Saturday August 20, 2016 @11:43AM
(#12327048)
"RAII,deterministic destructors,move semantics, shared_ptr and allocator" ?
Re:Rust: Systems Programming for Everyone
by steveklabnik on Saturday August 20, 2016 @11:47AM
(#12327072)
Maybe I misunderstood what you're talking about then. Rust very much did not ignore those things. In fact, Rust has (most of) those things, but with stronger guarantees, and/or putting them more core to the language.
(Allocators are the asterisk here, those are still a work in progress.)
Re:Rust: Systems Programming for Everyone
by soulbadguy on Saturday August 20, 2016 @11:59AM
(#12327112)
I not familiar enough with rust, but my point was that adding those feature to C lessen the need of a borrow checker (not that rust don't have those features.)
Re:Rust: Systems Programming for Everyone
by the_why_of_y on Saturday August 20, 2016 @01:40PM
(#12327548)
Move semantics is a great advance - we can have use-after-move bugs now, just what the world needed!
The feature IMO which make rust really great, usually only get mentioned in passing : well define compile time environement and compilation process,fast compile, sane macro system, ML like type system with pattern matching, great tooling and ecosystem out of the box.