4 ms·
it depends completely on what you put in "modern features"
by procaryote 1y ago
it depends completely on what you put in "modern features"
- tayo42 1y agoPattern matching, usable abstractions, non null types, tagged unions or w/e enums are, build tools etc
- munificent 1y agoI'm not sure what you mean by "usable abstractions" and tagged unions are a little verbose because they are defined in terms of closed sets of subtypes, but otherwise Dart has all of those.
- tayo42 1y agoNothing like "oh you can do that but with this weird work around" or if they're clunky to use
- procaryote 1y agoThis sounds more like "this is what I like in rust" than "features any modern language should have" though If you like rust, use rust. It's very likely the best rust
- lmm 1y ago> This sounds more like "this is what I like in rust" than "features any modern language should have" though Good build tooling has been around since 2004, and all of the rest of those features have been around since the late 1970s. There's really no excuse for a language not having all of them.
- procaryote 1y agoEvery language should have haskell level pattern matching?
- lmm 1y agoYes.
- antonvs 1y agoThat’s definitely a list of features that any modern language should have. It’s in no way specific to Rust.
- pjmlp 1y agoStandard ML from 1983, alongside all those influenced by it like Haskell, OCaml, Agda, Rocq,....
- lmm 1y agoMost of those have nothing remotely approaching Rust's level of build tooling.
- pjmlp 1y agoYet parent was mostly talking about type systems. If you prefer, Rust tooling is still quite far behind from languages like Kotlin and Scala, which I didn't mention, but also have such type system.
- lmm 1y ago> If you prefer, Rust tooling is still quite far behind from languages like Kotlin and Scala I'm not sure that's true, at least when it comes to specifically build tooling. I'd say Cargo is far ahead of Gradle, Ant, or worst of all SBT, and probably even slightly ahead of Maven (which never really reached critical mass in the Kotlin or Scala ecosystems sadly).
- pjmlp 1y agoYou are missing the IDE capabilities, maturity of GUI frameworks, a full OS that 80% of the world uses,... the whole tooling package.
- strobe 1y agoScala but it's on JVM (also is https://scala-native.org https://scala-native.org without JVM but that not really has big user base)