3 ms·
I (shrug) enjoy programming in C++11 and like many concepts in it. However, there are concepts in Go and Rust that are salient and stand on their own: typeclas
by strlen 15y ago
I (shrug) enjoy programming in C++11 and like many concepts in it.
However, there are concepts in Go and Rust that are salient and stand on their own: typeclasses in Go and Rust (concepts, unfortunately, were left out of C++11), rust making std::unique_ptr<> a language feature and support for pattern matching, etc...
While I like support for atomics, memory model, etc.. in C++11, concurrency is still a library in C++. Go and Rust take different approaches to concurrency, but they do make it a _language_ feature which is substantially different.
In short, I hate to bible-thump Paul Graham's article, but this article does remind me of the "blub paradox".
tl;dr I like C++11, but I am glad there are other options (most importantly, Go, and Rust) being developed for userland systems programming.
- Arelius 15y agoI'd like to note that rust does allow mutable shared state, but just in an "unsafe" context, since it is in fact, unsafe.