News for hackers. Stuff that matters.
Re:Rust via its Core Values by lossolo on Sunday April 03, 2016 @04:53PM (#11417637)
I am more productive in Go and C++ than in Rust. But for sure i am more productive in Rust than in C.
Re:Rust via its Core Values by kaoD on Monday April 04, 2016 @06:18AM (#11420672)
What's your mileage in Rust compared to C++? I found as soon as I got in the borrow-checker mindset I spent less and less time thinking about ownership and lifetimes to the point where I don't care anymore. I spend more time thinking about my program and its architecture (which I'd spend in any language) than thinking about Rust itself.

What would you say are exactly the pain points of productivity for you when using Rust?

My biggest gripes with Rust are macros (they're so useful but sooo hard at the same time compared to Lispy languages, where you don't have to fight the macro system as much due to their simpler syntax), compile times (which I hope will get better) and the fact that even at 1.x the the language and std still don't feel mature enough.

Re:Rust via its Core Values by petra on Sunday April 03, 2016 @10:41PM (#11419065)
What about memory safety? are c++ smart pointers equivalent to rust in safety ?
Re:Rust via its Core Values by hobofan on Monday April 04, 2016 @01:37AM (#11419640)
Yes, but they are only checkable at runtime in C++.
Re:Rust via its Core Values by kibwen on Monday April 04, 2016 @04:04AM (#11420151)
Only assuming that you never use references (or raw pointers), which depending on your needs may be unavoidable.