Why the C++ modules feature is very important for the C++ future?

C++ was stagnated for many years, and many developers was confident that the language will have the same destiny as  Cobol, Fortran and VB6. No new projects will be developed with it  and  C++ developers will do just the maintenance of the existing projects. But against all odds C++ reborn from its ashes and the new standards changes a lot how the language is used. Continue reading “Why the C++ modules feature is very important for the C++ future?”

Elevate your C programming skills by exploring the SQLite codebase.

16 years after its first checkin, SQLite is the most widely deployed database engine in the world. such open source project is a good candidate to learn how to make your code easy to understand and to maintain.

Let’s discover some facts about the SQLite code base, for that let’s begin with the following code snippet: Continue reading “Elevate your C programming skills by exploring the SQLite codebase.”

Lessons to learn from the old well implemented projects: Prince of Persia && Doom3.

Currently many mature libraries and frameworks exist for each programming language and many advanced features were added to the languages. But what about the old projects where the language features were not advanced as now and no many mature libraries existed yet?

Let’s explore some old well implemented projects and discover how they are implemented. Continue reading “Lessons to learn from the old well implemented projects: Prince of Persia && Doom3.”

The refactoring overhead costs of the C++ mechanisms over C

Few years ago when Linus Trovalds criticized C++ and told:

inefficient abstracted programming models where two years down the road you notice that some abstraction wasn’t very efficient, but now all your code depends on all the nice object models around it, and you cannot fix it without rewriting your app.

Many C++ developers does not appreciate this opinion. However we must admit that each language facility comes with a price and it’s better to know it than to think that my best programming language is perfect. Continue reading “The refactoring overhead costs of the C++ mechanisms over C”