The above field is supplemented with consent to receive a newsletter containing information and marketing content about the cppstories.com portal from Bartłomiej Filipek codebf based in Krakow. The consent may be withdrawn at any time. See the full Privacy Policy.
In this blog post, I’d like to show you how I could quickly improve my old project with Modern C++. Thanks to using the newest compilers and free code analysis checkers you can cover and modernise a lot of code.
Intro If you have a terrible code like:
float* pfloats = new float[10]; // no delete [] later!
Amazon Web Services (AWS) provide multiple tools for developing a native cloud application. In particular, the Software Development Kit (SDK) for C++ programming language enables developers to build powerful and efficient AWS applications for any platform. This includes Android, iOS, Linux and Windows apps.
This article introduces the basic concepts of C++ app development for AWS and S3, including real code examples.
2019 is almost over. Let’s reflect on how C++ changed during this time! What were some significant events, how the Standard progressed, how tools changed and many more.
Let’s have a look!
Other Reports:
2020 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012.
Disclaimer: the view presented here is mine and does not represent the opinion of the entire ISO C++ committee.
In today’s article, I’ll show you battle-tested features from the well-known Boost libraries that were adapted into C++17.
With the growing number of elements in the Standard Library, supported by experience from Boost you can write even more fluent C++ code.
Read on and learn about the cool things in C++.
Multithreading is a tough nut in software development. Not just because there are dozens of ways to approach a single problem, but also since one can get so many things wrong.
In this article, I want to present how to realize the concept of a Looper with Dispatchers in C++17.
They say “performance is king’… It was true a decade ago and it certainly is now. With more and more data the world generates each day, we need more and more computing power to process it.
It used to be the case that some SW vendors preferred to wait for a new generation of HW to speed up their application and did not spend human resources on making improvements in their code.
In the previous post about lazy initialisation, we showed examples and differences between using raw pointers, unique_ptr and std::optional to store the object and create it later. However, we implemented the samples from the perspective of single-threaded scenarios.
In this post, we’ll try to fill the gap and show you how to make your lazy objects available in a multithreading environment.
Following the pattern for other ISO C++ Meetings, I prepared a blog post where you’ll learn about:
The current status of C++20 an overview about the Belfast meeting (4th till 9th Nov) a few interesting papers that are worth reading Let’s start!
Disclaimer: the view presented here is mine and does not represent the opinion of the entire ISO C++ committee.
Lazy initialisation is one of those design patterns which is in use in almost all programming languages. Its goal is to move the object’s construction forward in time. It’s especially handy when the creation of the object is expensive, and you want to defer it as late as possible, or even skip entirely.
What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope?
In this blog post, I’d like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation.
To write a professional C++ application, you not only need a basic text editor and a compiler. You require some more tooling. In this blog post, you’ll see a broad list of tools that make C++ programming possible: compilers, IDEs, debuggers and other.
Last Update: 14th October 2019.
Note: This is a blog post based on the White Paper created by Embarcadero, see the full paper here: C++ Ecosystem White Paper.
Two weeks ago, I had a pleasure to give a talk at our local C++ User Group in Cracow. This time I spoke about vocabulary types from C++17: std::optional, std::variant and std::any.
The Talk During the presentation, I tried to explain the motivation and some most crucial use cases for the new types that we got in C++17.