Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wasn't Rust created for systems programming, and strict types.

Can I get a cliff notes on what this is doing to solve some pinch point that Rust isn't?



Async drop is a problematic case in Rust. Somehow grafting in linear types is one of the ideas that has been floated to solve this.

There is also a subset of developers (typically those used to the control of C and/or in the extremes of fault taulerance) that don't want the hiden control flow of implicit Drop / RAII so Linear types offers an alternative.

Personally, I'd also like a best-effort linear types so I can catch errors from closing file handles open for write. I can manually close to get the error but I want help to ensure I do it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: