Relearning C++ After C++11: Key Changes and Features

Relearning C++ After C++11: Key Changes and Features

Author | Frances Buontempo Translator | Zhang Weibin Editor | Ding Xiaoyun Key Takeaways: C++ is still very important and will always be. There are many resources to help us learn modern C++, including Godbolt’s Compiler Explorer, ISOCpp, and CppReference. C++ can be simpler than before. Besides enhancements related to convenience, potential performance improvements are … Read more

A C++ Programmer’s Introduction to Rust

A C++ Programmer's Introduction to Rust

AliMei’s Guide The author recently attempted to write some Rust code, and this article mainly discusses their views on Rust and some differences between Rust and C++. Background S2 learned the Pangu programming specification and the CPP core guidelines while promoting team coding standards, and then came to understand clang-tidy and Google’s exploration in security. … Read more

Understanding C++ Exception Mechanism: A Small Program Example

Understanding C++ Exception Mechanism: A Small Program Example

AliMei Introduction The author encountered C++ exceptions while investigating a bug, and takes this opportunity to clarify the C++ exception mechanism for everyone’s reference. Recently, while investigating a bug, we encountered C++ exceptions. Since we rarely use C++ exceptions, this is a good opportunity to clarify the C++ exception mechanism. There is not much existing … Read more

C++ at 40: No Midlife Crisis for This Language

C++ at 40: No Midlife Crisis for This Language

Author | Owen Hughes Translator | Sambodhi Editor | Liu Yan Powerful, Flexible, Complex: The origins of C++ date back 40 years, yet it remains one of the most widely used programming languages today. To find out why, TechRepublic interviewed C++ creator Bjarne Stroustrup. The origins of C++ trace back to 1979, when programming language … Read more

C++ Small String, Big Trouble

C++ Small String, Big Trouble

1 Introduction Many years ago, we had a library that caused garbled text when users input Chinese characters. As a result, we modified it internally to use UTF-8 encoding throughout. The interface still used the std::string type as a carrier for UTF-8 strings because std::u8string did not exist at that time. For many years, everything … Read more

C++ Makes Too Many Poor Design Decisions

C++ Makes Too Many Poor Design Decisions

Author | Jimmy Hartzell Planning | Yun Zhao The author of this article, Jimmy Hartzell, is an expert who teaches advanced C++ courses within his company. However, after returning to “modern” C++, he is very disappointed with the improvements made to this language. In this article, the author will focus on various “warts” of C++, … Read more

The Real C++ Killers Are Not Rust

The Real C++ Killers Are Not Rust

【Editor’s Note】”Is C++ 80% Dead?” The author of this article has been using C++ for 18 years. After experiencing dozens of programming languages, he points out that although C++ has been one of the most commonly used programming languages for decades, it has some issues such as being unsafe, inefficient, and wasting programmers’ energy. Therefore, … Read more

C++ Learning Path

C++ Learning Path

Hello everyone, I am Village Chief Axiang.This is the 42nd original article from the Village Chief.According to our previous agreement, I will gradually bring youarticles combining software and hardware.The so-called software refers to more directional suggestions and planning; the so-called hardware refers to technical content. This is also an article that digs a pit, meaning … Read more

Why Is C++ So Powerful?

Why Is C++ So Powerful?

Author: Milo Yip Link: https://www.cnblogs.com/miloyip/archive/2010/09/17/behind_cplusplus.html Thirty-one years ago (1979), a newly graduated researcher invented a new programming language to develop a software project. This researcher, named Bjarne Stroustrup, named the language C with classes, which was later renamed C++ four years later. C++ is a general-purpose programming language that supports multiple programming paradigms, including procedural, … Read more

In-Depth Guide to C++ Classes and Objects

In-Depth Guide to C++ Classes and Objects

This article mainly introduces an in-depth understanding of C++ classes and objects, specifically focusing on references, inline functions, the auto keyword, and for loops. The examples provided are very detailed and have significant reference value for your learning or work. Friends in need can refer to this! Friends, today we are diving into the wonderful … Read more