Click any tag below to further narrow down your results
Links
The article discusses the rapid growth of C++ and Rust from 2022 to 2025, attributing it to the increasing demand for efficient programming languages driven by limitations in hardware capabilities and power supply. It also addresses misconceptions about C++'s safety and security, highlighting improvements in the upcoming C++26 standard.
Fil-C is a memory-safe version of C and C++ that maintains high compatibility with existing code. It detects memory safety errors through runtime checks and allows many popular programs to run with little to no changes. The compiler is based on clang and supports modern build systems.
The article critiques the implementation and effectiveness of C++ modules, arguing that if they cannot achieve significant improvements in compilation speed, they should be reconsidered. It discusses the challenges faced in integrating modules into compilers and build systems, highlighting a lack of effective leadership and a flawed design approach that has hindered progress. The author advocates for a more iterative and pragmatic approach to development, emphasizing the need for measurable outcomes to justify continued investment in the feature.
C++26 introduces reflection capabilities, allowing compile-time processing of JSON data to create C++ objects. Using a simple example, the author explains how to parse a JSON file and transform it into a structured C++ object, highlighting the contributions of Dan Katz and the utility of the new reflection features in C++. The article also discusses the process of generalizing the parsing function to handle multiple key-value pairs in JSON objects.