News for hackers. Stuff that matters.
Re:Operating System Development in Rust by vezzy-fnord on Sunday January 11, 2015 @08:38PM (#8872110)
Could you elaborate on that? Rust has a powerful static type system, HOFs, is expression-based, has an unusually good pattern matching engine for its intended area, assumes immutability by default and uses a notation for function signatures typically associated with FP, but I don't think those are enough to call it a "cleverly disguised Haskell".

In fact, it has been my observation that the language has been getting progressively less functional since its early days. Not that I consider this to be bad.

Re:Operating System Development in Rust by thirsteh on Sunday January 11, 2015 @08:44PM (#8872122)
Sure -- basically what you said: http://science.raphael.poss.name/rust-for-functional-program...

Of course it's not exactly Haskell, but it's arguably closer to FP than it is to C, yet manages to be approachable to imperative programmers. I think this is fantastic.

Re:Operating System Development in Rust by nightski on Monday January 12, 2015 @03:34AM (#8872935)
That would be a really tough argument to make. It goes to great lengths to give control over memory layout and control and lacks a LOT of the features of Haskell's type system. It's a lot more like a prettier D than Haskell. Not only that with every iteration it has been moving farther away from the FP paradigm.
Re:Operating System Development in Rust by naasking on Monday January 12, 2015 @11:35AM (#8874783)
I think you mean GHC's type system, since Rust is arguably quite close to Haskell 98 in spirit, ie. algebraic types, lambdas, pattern matching, traits = single parameter type classes.
Re:Operating System Development in Rust by Retra on Sunday January 11, 2015 @10:01PM (#8872307)
I think the point is that it seems actively inspired by Haskell -- that the things people like about Haskell are the same things the designers of Rust want in their language.
Re:Operating System Development in Rust by saosebastiao on Monday January 12, 2015 @01:38AM (#8872759)
As far as I can tell, there is some Haskell inspiration in the form of typeclasses (traits in Rust), but almost everything else that resembles FP has a more common denominator in ML. (Even Haskell's type classes have some common lineage with SML Functors)