logoalt Hacker News

melodyogonnatoday at 9:05 AM2 repliesview on HN

Linear types requires significant work to incorporate into the core built-in collections and types. I've been following the work on Mojo to enable Linear type support for built-in types and collections, I don't think Rust's language semantics will allow for the same level of integration (Rust is already stable).


Replies

virtualritztoday at 9:59 AM

But Rust has editions.

That is a big lever language designers can use if they painted themselves into a corner.

show 1 reply
dubi_steinkektoday at 11:44 AM

Which stdlib collections and types should become `!Move`?

show 1 reply