Freelance Developers & IT Professionals
Claim pageClaim
Follow
Overview
Connections
News
Salaries
Products
People
Growth
Offices
Financials
News
Understanding std::counting_semaphore and std::binary_semaphore from C++20
This article explains the two semaphore types introduced in C++20: std::counting_semaphore and std::binary_semaphore . We'll first use a counting semaphore to limit how many threads can operate at the same time. Then we'll use a binary semaphore to send a
Read more
Report
How to join or concat ranges, C++26
Modern C++ continuously improves its range library to provide more expressive, flexible, and efficient ways to manipulate collections. Usually, when you wanted to concatenate or flatten ranges, you'd use raw loops or custom algorithms. With C++'s range ad
Read more
Report
15 Different Ways to Filter Containers in Modern C++
Do you know how many ways we can implement a filter function in C++? While the problem is relatively easy to understand - take a container, copy elements that match a predicate, and return a new container - it's good to exercise with the C++ Standard Libr
Read more
Report
Understanding std::shared_mutex from C++17
In this article, we'll start with a basic example using std::mutex , look at its limitations, and then introduce std::shared_mutex , a reader-writer mutex added in C++17. Even in 2026, with many new concurrency features available, std::shared_mutex is sti
Read more
Report
IIFE for Complex Initialization
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 variab
Read more
Report
7 Practical std::chrono Calendar Examples (C++20)
This article collects small, self-contained, and practical examples for working with std::chrono calendar types. The previous blog post - see Exploring C++20 std::chrono - Calendar Types - C++ Stories - focused on the building blocks: calendar types, oper
Read more
Report
Exploring C++20 std::chrono - Calendar Types
Before C++20, chrono gave us a solid foundation for working with clocks, durations, and time points - but it didn't really know anything about the civil calendar. If you needed to represent "March 15", check whether a date is valid, compute "the third Mon
Read more
Report
C++ Templates: How to Iterate through std::tuple: C++26 Packs and Expansion Statements
In part 1 of this mini-series, we looked at the basics of iterating over a std::tuple using index_sequence and fold expressions. In part 2 , we simplified things with std::apply and even created helpers like for_each_tuple and transform_tuple . So far, we
Read more
Report
C++ Templates: How to Iterate through std::tuple: std::apply and More
In the previous article on the tuple iteration, we covered the basics. As a result, we implemented a function template that took a tuple and could nicely print it to the output. There was also a version with operator . Today we can go further and see some
Read more
Report
Structured bindings in C++17, 8 years later
Structured binding is a C++17 feature that allows you to bind multiple variables to the elements of a structured object, such as a tuple or struct. This can make your code more concise and easier to read, especially when working with complex data structur
Read more
Report
Show more news
