|
|
Subscribe / Log in / New account

C++ Core Guidelines

C++ Core Guidelines

Posted Apr 18, 2021 5:16 UTC (Sun) by CChittleborough (subscriber, #60775)
In reply to: C++ Core Guidelines by mathstuf
Parent article: Rust in the Linux kernel (Google security blog)

Yes! Good point. Many changes to C++ are backwards incompatible, including changes to enforce good modern style. Indeed, some of the uglier syntax came from avoiding new reserved words (eg., “= 0” for pure virtual functions).

Contrast that with Rust, which has editions to allow packages to use new keywords and other language changes (with full compatibility with packages that use other editions!).


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds