News for hackers. Stuff that matters.
Re:Choosing Nim out of a crowded market for systems programm... by efnx on Saturday November 26, 2022 @01:52PM (#33755443)
The things that make rust “functional” are features like a type system that supports sum and product types and functions as typed values that can be passed around. It really is a functional language (in the original ML sense of the word) but with another orthogonal type system bolted on (borrow checker).

It’s missing some features like higher kinded types but it’s functional nonetheless.

I’m interested to hear what your definition of functional is - it’s always interesting because it’s such a vague term, really.

Re:Choosing Nim out of a crowded market for systems programm... by efnx on Sunday November 27, 2022 @01:17PM (#33765145)
Jeez downvoters - just look at the definition of “functional language”

https://en.m.wikipedia.org/wiki/Functional_programming

And then tell me Rust is _not_ those things.