Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #10875

S

Shahar Mike

Personal blog · shaharmike.comprogrammingsystems

Shahar Mike's personal blog at shaharmike.com covers programming and systems. Since 2016, 7 different Hacker News readers have linked it 8 times. The last post was in 2023, but the archive is still widely read.

Visit the blog
8mentions?
7HN people?
2016–2024first – last linked?
Links on Hacker News per year · peak 3 in 2016

Too few sampled comments (2) to say how often HN recommends it.?

Why HN links it

HN readers link Shahar Mike's C++ posts on low-level topics, such as how strings are implemented and how vtables and constructors work. One commenter calls a vtables and constructors post a very nice writeup.

Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

What Hacker News says?

  1. ”However, none of them are suitable for general strings where we might have many small ones” That’s where I expected to see the Short String Optimization mentioned. For short strings, it stores the string’s characters in the same memory where, for longer strings, it stores a pointer to the characters (with ‘short’ dependent on the implementation) It also tweaks how either get stored to make it possible (and fast) to…

    Comment linking /cpp/std-string/

    on “How to implement strings”
  2. Submitted Under the hood of C++ lambdas and std::function as a story · 72 points

    HN discussion
  3. 112233 · 2024-10-21Recommends
    Of course it would, not a lot would run otherwise. Here is very nice writeup about vtables and constructors: https://shaharmike.com/cpp/vtable-part4/

    Comment linking /cpp/vtable-part4/

    on “Memory safety without lifetime parameters”
  4. Submitted Compiling Clang from Scratch as a story · 4 points

    HN discussion
  5. Submitted Longest C++ Variable Declaration as a story · 3 points

    HN discussion
  6. Submitted C++ vtables – Part 1 – Basics as a story · 3 points

    HN discussion
  7. Submitted Exploring std::string as a story · 2 points

    HN discussion
  8. Submitted Return Value Optimization as a story · 1 points

    HN discussion

Search all of HN for shaharmike.com

Linked by the same people?