Archive for the ‘Programming Articles’ Category

How inheritance, encapsulation and polymorphism work in C++

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]

32bit vs 64bit computers, the QA

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]

sed – the missing manual

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]

Aligned vs. unaligned memory access

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]

Opening and modifying the initrd

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]

SMP affinity and proper interrupt handling in Linux

Introduction Hardware interrupts has always been expensive. Somehow these small pieces of software consume so much CPU power and hardware and software engineers has always been trying to change this state of affairs. Some significant progress has been made. Still hardware interrupts consume lots of CPU power. You will rarely see effects of interrupt handling [...]

How debugger works

Table of contents Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance works Difference between different casting types Polymorphism and multiple inheritance What if we try something even more complicated Few words about [...]