On.Programming

For most of us, programming (or more generally – software development) is all the life is about.

IT Hares are not different. And they have more than just quite a few bits to share about programming…

Infographics: Operation Costs in CPU Clock Cycles, Take 2

June 19, 2026 by “No Bugs” Bunny

Quote

The cost of thread context switch, including cache invalidation, can reach up to 3 million CPU cycles

Another Quote

RTTI can be quite expensive, with dynamic_cast<> being up to 5x more expensive than a simple virtual function call

Filed under: On.ProgrammingOptimizations

Tagged With: C/C++
Read more

On CPU Physics and CPU Cycles

June 10, 2026 by “No Bugs” Bunny

Quote

as active portion of the stack is accessed extremely frequently, it is almost-guaranteed to be cached

Another Quote

main memory access latencies of an x64 desktop box, and an M4 Apple SoC happen to be in the same ballpark of about 200-300 CPU cycles

Filed under: On.ProgrammingProgramming Languages

Tagged With: C/C++
Read more

Five Myths used in "Golang vs Node.js" debate

February 25, 2020 by “No Bugs” Bunny

Quote:

Performance-wise, Golang is closer to Node.js than to C/C++

Another Quote:

concurrency (leave alone efficient concurrency) is never easy

Filed under: On.ProgrammingNetwork ProgrammingProgramming Languages

Read more

Bringing Architecture of Operating Systems to XXI Century – Part IV. First Draft

November 8, 2019 by “No Bugs” Bunny

Quote:

While L3 kernel can STILL run on MMU-less RAM-constrained MCUs, it provides responsiveness which is comparable to that of multi-stack kernels.

Another Quote:

multi-coring is essentially a special case of balancing shared-nothing nodes

Filed under: On.System ArchitectureDesign decisions(Re)ActorsOn.ProgrammingEmbedded

Read more