language

C++

C++ is a systems programming language created by Bjarne Stroustrup at Bell Labs in 1985, maintained today by the ISO C++ Committee. It distinguishes itself from alternatives like C and Rust by offering both low-level memory control through pointers and high-level abstractions like classes and templates, enabling performance-critical applications. Real use cases include game engines (Unreal Engine), operating systems (Windows kernel components), and high-frequency trading systems at firms like Jane Street, where deterministic latency is crucial. A concrete technical detail is its use of RAII (Resource Acquisition Is Initialization) for automatic resource management, which prevents leaks but requires careful constructor/destructor design.

Also known as: c-plus-plus, cplusplus
🧊Why learn C++?

Use C++ when you need maximum performance with fine-grained hardware control, such as in embedded systems, AAA game development, or scientific computing simulations where every CPU cycle counts. It is not the right pick for rapid web prototyping or applications where memory safety is the top priority, as its manual memory management can lead to vulnerabilities like buffer overflows. The community acknowledges that its complexity and steep learning curve, with features accumulated over decades, make it prone to subtle bugs and harder to maintain compared to modern languages like Go or Python.

Compare C++

Related Tools

Alternatives to C++