Welcome to Nimrod’s Coding Lab!

  • Here is a personal programming-related blog.
  • Want to know about me?
  • To contact me, use one of the methods below.

Virtual Function Costs

Benchmarks of virtual functions in collection.

November 26, 2024 · 6 min

C++ Type Dispatch

November 10, 2024 · 8 min

How to Resolve Macro Name Collisions

Three methods to handle macros clash in C++.

February 25, 2024 · 3 min

C++: How to Access Private Members VALIDLY

August 10, 2022 · 3 min

C++: Elegant Ways to Map Runtime Values to Types

This post introduces two elegant ways to dispatch based on runtime values.

July 31, 2022 · 3 min

Algorithms behind Popcount

Three algorithms of popcount.

July 17, 2022 · 6 min

C++ Virtual Table Tables(VTT)

It’s a detailed explanation about virtual table tables(VTT) in C++.

May 18, 2022 · 7 min

What does C++ Object Layout Look Like?

Explain the object memory layout of C++ based on Itanium ABI specification.

May 8, 2022 · 12 min

A Subtle Bug Before C++17

This post will show you a subtle performance bug due to unsupport for over-aligned types before C++17.

April 21, 2022 · 3 min

Iyengar111 NanoLog Source Code Reading

April 9, 2022 · 11 min