Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tayo42
8mo ago
0 comments
Save
Share
What other language has modern features like rust and is compiled?
0 comments
7 comments · 2 top-level
top
newest
oldest
procaryote
8mo ago
· 5 in thread
it depends completely on what you put in "modern features"
tayo42
OP
8mo ago
Pattern matching, usable abstractions, non null types, tagged unions or w/e enums are, build tools etc
pjmlp
8mo ago
Standard ML from 1983, alongside all those influenced by it like Haskell, OCaml, Agda, Rocq,....
1 more reply
procaryote
8mo ago
This 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
2 more replies
munificent
8mo ago
I'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.
1 more reply
strobe
8mo ago
Scala but it's on JVM (also is
https://scala-native.org
without JVM but that not really has big user base)
cultofmetatron
8mo ago
nim, zig and ocaml come to mind
j
/
k
navigate · click thread line to collapse