News for hackers. Stuff that matters.
Re:Why is Rust difficult? by jacobush on Monday January 22, 2018 @02:06AM (#16202446)
I agree with everything, just wanted to nuance with a little thought - if cloning memory at every occasion makes the code safer and more correct but slower, that might be worth it. Always favor correct over broken. If you are coming from C to Rust in a domain that is actually better suited for Go... well at least you are arguably better off with Rust than C, right?

So I think that Rust will advance the overall state of the art, just a bit.

Re:Why is Rust difficult? by jchw on Monday January 22, 2018 @02:17AM (#16202486)
Oh yes, as long as the anti-patterns that emerge don't cause other bugs, they're OK; but some may lead to logical bugs. I'm not sure how likely that is, though- not enough history to go off of yet.

Rust is certainly a step in the right direction. I hope the toolchain and so forth end up in a state where all forms of users can love it, though; I have seem some reasonable opposition to including Rust in kernel code, and that sucks.

Re:Why is Rust difficult? by smaddox on Monday January 22, 2018 @05:35PM (#16208695)
I wonder if rust could be transpiled to somewhat idiomatic C... It should be easier than the other way around.
Re:Why is Rust difficult? by steveklabnik on Monday January 22, 2018 @10:29PM (#16210731)
mrustc compiles Rust to C; I don’t think idiomatic is a goal though.