Tag: C
Joy of Programming: The Legacy of C
Dennis Ritchie died on the 8th of October 2011, at the age of 70. His lasting contributions to computing include creating the C language,...
CodeSport
In this month's column, we will continue our discussion on some of the common loop optimisations performed by the compiler.
In last month's column, I...
GNU Binutils: A Collection of Binary Tools
With years of experience as a systems programming engineer, I've realised that to be a great artist of programming, you must understand the basics...
Joy of Programming: Scope, Lifetime and Visibility in C
Often, programmers confuse the scope, lifetime and visibility of variables. So I'll cover these three important concepts in this month's column.
Whenever you declare a...
CodeSport
In this month's column, let us focus our attention on some of the common compiler optimisations, and on how to write code that can...
Modify-function-return-value hack! — Part 2
In my previous article on this topic, we discussed some guidelines on how to write a secure application in C. The article focused on...
Joy of Programming: The Technology Behind Static Analysis Tools
There are a wide range of static analysers available today -- both commercial as well as open source. Have you ever wondered how static...
CodeSport
In this month's column, we pose a set of questions related to C/C++, algorithms and data structures, for our readers to practice and prepare...
Joy of Programming: Calling Virtual Functions from Constructors
Calling virtual functions from constructors is problematic, and this problem can manifest itself in many ways. In this column, we'll take a look at...
Code Profiling in Linux Using Gprof
Today, performance is a pivotal point in the programming world. Programmers constantly strive to make their code run in fewer milliseconds. Performance analysis can...