373
'Maybe the problem is you' ... Linus Torvalds wades into Linux kernel Rust driver drama
(www.theregister.com)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
Rust has affine types and gets close to linear when you include
#[must_use]
(you can stilllet _ = foo
but at least it won't be an accident, also, drop code isn't guaranteed to run and there's good reasons for that), refinement types there's a library for that. GADTs... I mean sure trait magic can get annoying and coming from Haskell you'd want to do more in the type system but in the end the idiomatic rust way to do many of those things is with macros. Which, unlike Haskell, Rust actually is really good at. Really good. Tack refinement types onto the language kind of good.Proving tools, honestly, there's only one piece of actually proven software (SeL4) and the only language it's really written in is Coq. Which Rust will never, ever, compete with on its home turf.
Not sure why Haskell is being invoked—several languages have GADTs & macros.