News for hackers. Stuff that matters.
Re:Rust for functional programmers by chrismorgan on Sunday July 13, 2014 @11:41AM (#8027640)
The stuff about boxing, Rc and Gc is simply wrong. For example:

`box foo` is Box<T>, the old ~T, nothing to do with Gc or Rc.

Gc is not at all clever and does not do cycle collection.

There are quite a number of other wrong or slightly wrong things about Rust, and a total ignoring of many Rust conventions.

Re:Rust for functional programmers by knz42 on Sunday July 13, 2014 @01:24PM (#8027982)
The "stuff about boxing" has been discussed on the reddit thread, and I will have it fixed by tomorrow. Thanks for highlighting.

As to "Gc not being clever", the code is clear that it is intended to be clever in the long run, so the essence of the message could stay. Maybe the wording could be made more precise, thanks again for highlighting.

As to the "number of other wrong or slightly wrong things", I would be more than happy to fix the text if you have concrete remarks.

Re:Rust for functional programmers by berdario on Sunday July 13, 2014 @02:04PM (#8028138)
I'd like to know what is exactly wrong, I tried to look for the reddit thread, assuming it would've been this one:

http://www.reddit.com/r/rust/comments/2al19j/rust_for_functi...

but there're no comments as of now

EDIT: found it

http://www.reddit.com/r/programming/comments/2akz51/rust_for...

Re:Rust for functional programmers by dbpatterson on Sunday July 13, 2014 @12:03PM (#8027710)
Also, unless things have changed significantly in the past year or so (since I've last really used Rust), there are significant differences between Rust traits and Haskell type classes. You can have collections of heterogeneous types that all share the same trait, which is not true with type classes. Most descriptions I've seen say that they are more of a hybrid of Java interfaces and Haskell type classes.
Re:Rust for functional programmers by gliptic on Sunday July 13, 2014 @12:11PM (#8027747)
You can have the same thing in Haskell using existential types.
Re:Rust for functional programmers by platz on Sunday July 13, 2014 @12:52PM (#8027880)
I think the point is that traits are different from typeclasses
Re:Rust for functional programmers by cmrx64 on Sunday July 13, 2014 @02:52PM (#8028264)
Not really, since the equivalent formulations in Rust are also existentials, just slightly massaged syntax-wise.