News for hackers. Stuff that matters.
Re:Go best practices, six years in by catnaroek on Monday May 02, 2016 @01:40AM (#11609383)
C++has had RAII for decades already. Actual Rust innovations are the borrow checker and dynamically sized types.
Re:Go best practices, six years in by pjmlp on Monday May 02, 2016 @02:21AM (#11609487)
Yes, we were already using it on Windows to program COM in the mid-90's.
Re:Go best practices, six years in by cwzwarich on Monday May 02, 2016 @03:39AM (#11609775)
The borrow checker is predated by Cyclone and other work on region systems. Rust added more polish, but none of the basic ideas are new.
Re:Go best practices, six years in by catnaroek on Monday May 02, 2016 @03:53AM (#11609823)
Of course, I'm aware that work on region systems dates back to the mid 90's, which is why I called Rust's borrow checker an “innovation” (the first time a product form factor or feature successfully makes it into a market) rather than an “invention” (coming up with a product concept that didn't exist before).