C++ Articles List

Showing the most recent resources. The latest one is from 2020-05-26.
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 3 days ago
  • Liskov’s Substitution Principle to ensure the inheritance correctness.
    Article  Added by VisheshPatel // www.vishalchovatiya.com // 11 days ago
  • The SOLID design principles to craft C++ software that is easy to maintain, reuse & extend.
    Article  Added by VisheshPatel // www.vishalchovatiya.com // 18 days ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 25 days ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // 30 days ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // about 1 month ago
  • C++ Build Insights offers more than one way to investigate your C++ build times. In this article, we discuss two methods that you can use to identify bottlenecks in your builds: manually by using the vcperf analysis tool, or programmatically with the C++ Build Insights SDK. We present a case study that shows how to use these tools to speed up the Git for Windows open source project. We hope these tutorials will come in handy when analyzing your own builds.
    Article  Added by AndreyKarpov // devblogs.microsoft.com // about 1 month ago
  • Article  Added by VisheshPatel // www.vishalchovatiya.com // about 1 month ago
  • The GCC compiler is written with copious use of macros. Another check of the GCC code using PVS-Studio once again confirms the opinion of our team that macros are evil in the flesh. Not only does the static analyzer struggle with reviewing such code, but also a developer. GCC developers are certainly used to the project and are well versed in it.
    Article  Added by AndreyKarpov // habr.com // about 1 month ago
  • Software quality, safety, and security have become the topmost priority over the recent years. In our earlier articles, we already mentioned some events from history that entailed both large financial losses and deaths of people. The explosion of the Ariane 5, exposure of patients to a 20,000 rad overdose with the Therac-25 radiation therapy machine, 89 deaths through the fault of Toyota. All these stories have one thing in common: software bugs that led to huge losses.
    Article  Added by AndreyKarpov // www.embedded-computing.com // about 2 months ago
  • The other day, DeepCode, which is a static analyzer based on machine learning, began to support checking of C and C++ projects. And now we can find out the differences between the results of the classic and the machine-learning static analysis.
    Article  Added by AndreyKarpov // www.viva64.com // about 2 months ago
  • Through testing and comparison, the current overall build speed is basically the same as ninja. Compared to cmake/make, meson/ninja is much faster, because they have an extra step to generate makefile / build.ninja.
    Article  Added by waruqi // github.com // about 2 months ago
  • Here's an interesting story about how one of the questions we ask at job interviews turned out to reach even deeper than intended by its author. You've always got to watch your step with C++ and C++ compilers – there's never a risk of getting bored.
    Article  Added by AndreyKarpov // habr.com // about 2 months ago
  • Rob and Jason are joined by Jussi Pakkanen. They first discuss the ongoing effects that the Corona Virus is having on the C++ Community. Then they talk to Jussi Pakkanen who gives them an update on what’s changed in Mesonbuild since he was first on show 201 episodes earlier. Jussi also shares some info about the Meson Manual which is available as an e-book.
    Article  Added by AndreyKarpov // cppcast.com // 2 months ago
  • A new post "How Can Developers Help Fight Coronavirus?" appeared in the Fluent{C++} blog. We have a practical consideration on this subject, although it is not directly related to COVID-19. If programmers would like to do something useful in this regard, we recommend fostering the efforts in the general development of research libraries in the field of medicine, and related applications. At least, even if developers can't add new capabilities, they can work on the quality of these projects.
    Article  Added by AndreyKarpov // www.viva64.com // 2 months ago
  • Rob and Jason are joined by Yuri Minaev from PVS-Studio. They first discuss a blog posts on ISO’s recent decision not to break the C++ ABI in C++23 and getting rid of volatile in the Qt codebase. Then they talk to Yuri Minaev, one of the developers at PVS Studio working on the static analyzer. They discuss some of the forms of analysis that the tool excels at and how it’s changed the way Yuri programs.
    Article  Added by AndreyKarpov // cppcast.com // 3 months ago
  • The motivations behind std::string_view and std::span are similar. The string_view and span are objects that refer to a contiguous sequence of elements starting at position zero and provide standard container operations. Both types are lightweight easy-to-copy objects comprising a pointer and a size member. Conceptually, they are non-owning views of an array (or contiguous sequence) that provide the rich standard interface.
    Article  Added by AndreyKarpov // dev.lemmy.ml // 3 months ago
  • Yes, you've guessed correctly - the answer is "42". In this article you will find 42 recommendations about coding in C++ that can help a programmer avoid a lot of errors, save time and effort. Every recommendation is given with a practical example, which proves the currentness of this question.
    Article  Added by AndreyKarpov // www.viva64.com // 3 months ago
  • C++ “move” semantics are simple, but they are still widely misunderstood. This post is an attempt to shed light on that situation. Thank you to the following for their feedback on drafts of this material: Howard Hinnant (lead designer and author of move semantics), Jens Maurer, Arthur O’Dwyer, Geoffrey Romer, Bjarne Stroustrup, Andrew Sutton, Ville Voutilainen, Jonathan Wakely.
    Article  Added by AndreyKarpov // herbsutter.com // 3 months ago
  • Runtime error handling is hugely important for many common operations we encounter in software development — from responding to user input, to dealing with a malformed network packet. An application shouldn’t crash because a user has loaded a PNG instead of a PDF, or if they disconnect the network cable while it’s fetching the latest version of PSPDFKit for Android.
    Article  Added by AndreyKarpov // pspdfkit.com // 4 months ago
  • Today I’ve come across, in my view, a ridiculous article ‘Why you should never use the bool datatype’. I don’t agree with the bool type thing the author says. It’s just a type – there’s nothing bad about it. Moreover, bool is safer than, let’s say, char.
    Article  Added by AndreyKarpov // link.medium.com // 4 months ago
  • A collection of resources on modern C++.
    Article  Added by AndreyKarpov // awesomecpp.com // 4 months ago
  • C++20 is right around the corner. Along with the new standard comes the much anticipated Modules feature! The compiler team initially announced that we were working on the Modules TS back in 2017 and since then we have been hard at work improving the feature and improving compiler conformance around this feature. We finally feel it is time to share some of the progress we have made on the conformance front for Modules.
    Article  Added by AndreyKarpov // devblogs.microsoft.com // 4 months ago
  • Today let's recall the oldie but goodie article "The Last Line Effect" written more than 5 years ago. Time passes, but nothing changes. There is nothing dreadful in it. Copy-Paste is still cruel and merciless. However, over the years, many new readers have joined our blog who may not be familiar with that article. So now there will be a moment of memories and a few additions.
    Article  Added by AndreyKarpov // www.viva64.com // 4 months ago
  • If you're reading this text, you've either thought that something was wrong with the headline or you've seen the name of a familiar computer game. VVVV VVVV is an indie platformer game that has stolen the hearts of many players by its pleasant external simplicity and no less pleasant internal complexity. A few days ago, VVVVVV turned 10 years, and the author of the game - Terry Cavanagh - celebrated this holiday by publishing its С++ source code. What mind-boggling things is it hiding?
    Article  Added by AndreyKarpov // www.viva64.com // 4 months ago
  • The const type qualifier is one of the jewels of the C++ language design. Surrounding by this feature, we devise the "const correctness" practice to prevent const objects from getting mutated. Unfortunately, due to short-sightedness, the standard library type std::function becomes one of the ill-behaved citizens that doesn't follow the const-correctness rule.
    Article  Added by LesleyLai // lesleylai.info // 5 months ago
  • Learn how to write our first program in the C++ programming language in our integrated development environment (IDE, Visual Studio, or Xcode). We will call our first C++ program as C++ source code.
    Article  Added by packtpartner // docs.google.com // 6 months ago
  • This blog post proposes/suggests an approach to modelize the notion of mathematical function in C++17. This is an attempt to obtain two minimal classes (function and function with differential) of practical use to define interfaces of numerical algorithms such as nonlinear solvers or optimization procedures.
    Article  Added by vincent-picaud // pixorblog.wordpress.com // 6 months ago
  • In this article, we'll discuss functions and review their syntaxes. We'll explore their design aspects and how they contribute to a nicely shaped procedural C program.
    Article  Added by packtpartner // packtpublishing.github.io // 8 months ago
  • Some variation of the “where to get started with learning C++” or “What are the resources for getting started in C++” has come up often enough on Twitter that I figured it was about time to turn it into a more permenant resource.
    Article  Added by shafik // shafik.github.io // 9 months ago