It was obvious that C++ would be blamed for the CrowdStrike big outage.

Latest Friday , BANKS, AIRPORTS, TV stations, healthcare organizations, hotels, and numerous other businesses are experiencing widespread IT outages, leading to grounded flights and extensive disruption, as Windows machines have encountered errors globally. And we wrote a post explaining that soon they would blame C++ for that, and that is exactly what is happening, as we can see here.

Continue reading “It was obvious that C++ would be blamed for the CrowdStrike big outage.”

Please don’t tell us that the Huge Microsoft Outage Linked to CrowdStrike is also a C++ code fault

Recently, a wave of criticism has been directed at C++, with some companies, organizations and websites labeling it as the “evil language” responsible for a significant portion of software vulnerabilities and damage. This criticism, however, stems from a fundamental misunderstanding of the nature of programming languages and software development. It’s essential to delve deeper into this issue to clarify that the problems attributed to C++ are not inherent to the language itself, but rather a consequence of how it is used.

Today, BANKS, AIRPORTS, TV stations, healthcare organizations, hotels, and numerous other businesses are experiencing widespread IT outages, leading to grounded flights and extensive disruption, as Windows machines have encountered errors globally.

Continue reading “Please don’t tell us that the Huge Microsoft Outage Linked to CrowdStrike is also a C++ code fault”

Meeting C++ might be your top resource for staying updated with C++

Staying updated about C++ is crucial for keeping up with new features, best practices, and community discussions. There are some useful links to help you stay current with the latest in C++, like the ISO C++ website.

As C++ tool editors, it is essential for us to stay up to date with the latest developments in C++. Meeting C++ channels, including their website, Twitter, and LinkedIn, are crucial and valuable resources for receiving timely news and updates about C++. Indeed The Meeting C++ website is offering a variety of content and opportunities to engage with the C++ community. Here’s an overview of what you can find on the Meeting C++ website:

Continue reading “Meeting C++ might be your top resource for staying updated with C++”

C++ optimization is more about design choices.

In C++ programming, optimization goes beyond just tweaking code for performance gains. It fundamentally revolves around making smart design choices. Here’s why:

  1. Algorithm Selection: The choice of algorithm can drastically affect performance. Using an O(n log n) sort algorithm over an O(n^2) one is a prime example.
  2. Data Structures: Choosing the right data structure (e.g., using a hash table instead of a linked list for fast lookups) can lead to significant efficiency improvements.
  3. Memory Management: Efficient memory usage and minimizing allocations/deallocations can enhance performance. Techniques like memory pooling or using smart pointers properly can make a big difference.
  4. Concurrency and Parallelism: Designing systems that effectively use multiple threads or processes can improve performance. C++11 introduced standard support for threading, which aids in this.
  5. Avoiding Premature Optimization: Focusing on clean, maintainable code first and optimizing critical sections later is usually more effective.
Continue reading “C++ optimization is more about design choices.”

Abstracting technical layer details in C++ to mitigate the language’s learning curve.

Recently, I came across a LinkedIn post showing a C++ developer’s reaction to seeingfor the first time how array sorting is done in Python. Unsurprisingly, the simplicity of Python’s approach was shocking.

arr=[64,12,22,55,44]
bubble_sort(arr)
print("Sorted Array:",arr)
Continue reading “Abstracting technical layer details in C++ to mitigate the language’s learning curve.”

7 Tips to improve the C++ algorithms complexity (Big-O)

Understanding algorithm complexity, specifically Big-O notation, is crucial for analyzing and comparing the efficiency of algorithms. In C++, as in other programming languages, the complexity of an algorithm can significantly impact the performance and scalability of an application. So it’s useful to know how to improve the algorithm complexity. But before that let’s explore the most common algorithm complexities:

Continue reading “7 Tips to improve the C++ algorithms complexity (Big-O)”

In C++, the Macchina.io Edge SDK is your best choice for IoT applications.

The Internet of Things (IoT) refers to the network of physical objects—devices, vehicles, buildings, and other items—embedded with sensors, software, and other technologies to connect and exchange data with other devices and systems over the internet. IoT encompasses a wide range of applications, from consumer gadgets to industrial systems, transforming how we interact with the physical world.

Continue reading “In C++, the Macchina.io Edge SDK is your best choice for IoT applications.”

Boosting C++ Performance with Folly

The Folly library, developed by Facebook, is a collection of reusable C++ library components designed to complement the C++ standard library and boost the performance of C++ applications. Folly focuses on efficiency, providing highly optimized components that are particularly useful in performance-critical applications. Here are some key aspects of performance in the Folly library:

Continue reading “Boosting C++ Performance with Folly”

Another big tech company join the move away from C++ initiative, How we can stop this migration process?

Background

2011 marked the renaissance of C++, driven by the release of C++11 which introduced numerous features to modernize the language, such as lambda expressions, smart pointers, and a more efficient standard library. However, a decade later, major tech giants like Google, Microsoft, Amazon, Apple, and Meta are initiating processes to migrate away from C++. This shift highlights growing concerns about memory safety and the evolving landscape of systems programming.

Just recently there’s another big company joining the Moving away from C++ initiative. it concern Apple that recommend to replace C++ with Swift.

One could argue that the issue lies not with C++ itself, but with the developers using it. However, the reality is that big companies are shifting away from C++.

Continue reading “Another big tech company join the move away from C++ initiative, How we can stop this migration process?”