Monthly Archives: October 2014

Learn from Folly source code the new C++11 features.

Two years ago Facebook released  their C++ library named Folly , it’s a large collection of reusable C++ library components that internally at Facebook are used extensively. But many mature C++ open source libraries exist, why introduce another one ? Here’s the … Continue reading

Leave a comment

Feedback about the C++ developers choices after the analysis of many C++ open source projects.

Since 2008 we did many test to validate the CppDepend results, and for seven years we analyzed more than 100 C++ open source  projects. We get them mostly from github and sourceforge. We had chosen the projects randomly, some are small, others are big. Some are very popular, others are just downloaded by few developers. In … Continue reading

Leave a comment

Hacking on Clang to demistify temporary objects

It is sometimes necessary for the C++ compiler to create temporary objects.They are used during: Reference initialization. Evaluation of expressions including standard type conversions. Argument passing. Function returns. Evaluation of the throw expression.

Leave a comment

Discovering Jigsaw, the new major java 9 feature.

The goal of Project Jigsaw is to design and implement a standard module system for the Java SE Platform, and to apply that system to the Platform itself and to the JDK. It was postponed many times, it’s planed now … Continue reading

Leave a comment

Some reasons why “Modern C++” adopted the generic programming

As Bjarne Stroustrup points out, “C++ is a multi-paradigmed language.” It supports many different styles of programs, or paradigms, and object-oriented programming is only one of these. Some of the others are structured programming, and generic programming. In the last … Continue reading


What Clang can tell you about your Visual C++ projects

Each compiler could report after the build many warnings. These warnings won’t keep your code from compiling except if you decide to treat them as errors. Don’t hesitate to take a look as these warnings instead of ignoring them. Indeed … Continue reading

Leave a comment

Tracking hidden duplicate code

It’s known that the presence of duplicate code has negative impacts on software developmet and maintenance. Indeed a major drawback is when  an instance of duplicate code is changed for fixing bugs or adding new features, its correspondents have to be … Continue reading

Leave a comment

Learn basic “C” coding rules from open source projects

Every  project has its own style guide: a set of conventions about how to write code for that project. Some managers choose a basic coding rules, others prefer very advanced ones and for many projects no coding rules are specified, and … Continue reading

Leave a comment

Motivations of choosing C over C++ : Git case study

Linux, Php, and Git are a popular projects developed with C, in the other side OpenOffice, firefox, Clang, Photoshop are developed with C++, so it’s proven that each one is a good candidate to develop complex applications. Try to prove … Continue reading

Leave a comment