2 ms·
I'd wish there was a Rust with Nim syntax, haha.
by k__ 8y ago
I'd wish there was a Rust with Nim syntax, haha.
- creatornator 8y agoI suppose something close might be OCAML or Haskell, since they have similar type safety to Rust (whose syntax is loosely based on OCAML from what I understand) but have some nice features that Python and Nim use like list comprehensions and generators, lazy evaluating, etc. But also with Rust macros you can sort of make your own sub-DSL's which add some of those features.
- k__ 8y agoYes, I know about the ML syntax languages, they are pretty cool, but Rusts unique selling point is the borrow-checker. Getting GC style code without runtime overhead.