Re:C++ coroutines: Initial implementation pushed to master
by tsimionescu on Sunday January 19, 2020 @05:09PM
(#22094456)
Unfortunately, modern C++ still includes (the vast majority of) C, both in theory and in practice in many code bases around the world.
Re:C++ coroutines: Initial implementation pushed to master
by pjmlp on Sunday January 19, 2020 @05:25PM
(#22094559)
Indeed, and it is its Achilles tendon, once its Trojan horse for adoption, nowadays the source of security headaches.
However, I don't see many companies throwing away their IDEs, game engines, build systems just like that.
It is easier to migrate those teams to static analysis tooling, than throwing it all away and start from scratch in another ecosystem.
Hence why both Microsoft and Google are still two major contributors to ISO C++, in spite of being in the process of adopting Rust.
Re:C++ coroutines: Initial implementation pushed to master
by stjohnswarts on Monday January 20, 2020 @04:33PM
(#22102255)
Can you point out where Google and Microsoft are moving to Rust because I've seen none of that.
Re:C++ coroutines: Initial implementation pushed to master
by steveklabnik on Monday January 20, 2020 @05:27PM
(#22102599)
“Moving to rust” is too strong; they are both adopting Rust for real, production use cases. I’ll give you one example of each: Google is using Rust in ChromeOS, at the virtualization later, and Microsoft is using ripgrep to power the search for VS: Code. There’s more than just that but those are the two easiest things to point to.
Modern C++ is already a large improvement over C, which was already a 19th century carriage, when everyone was moving into steam cars.