News for hackers. Stuff that matters.
Re:Rust Survey 2021 Results by kibwen on Wednesday February 16, 2022 @08:43AM (#30359791)
Rust feature flags aren't the same as Haskell feature flags. In Haskell you design your own programming language by selecting which extensions to enable. In Rust, feature flags only exist on the unstable nightly compiler and either get folded into the language proper or deprecated and dropped entirely. It's not a combinatorial explosion of interacting extensions, it's a single base for everyone that grows over time.
Re:Rust Survey 2021 Results by pjmlp on Wednesday February 16, 2022 @09:30AM (#30360392)
Re:Rust Survey 2021 Results by Thiez on Wednesday February 16, 2022 @11:02AM (#30361709)
Oh, those features, you are talking about stuff that is included/excluded in libraries. Those have nothing to do with compiler extensions, they don't change the language.
Re:Rust Survey 2021 Results by kibwen on Wednesday February 16, 2022 @12:28PM (#30362801)
Indeed, perhaps it was bad to name this (er) feature of Cargo with the word "features", since it invites conflation with the unstable #[feature] attribute of nightly Rust, but it has nothing to do with the language.