<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://shubhankar-gambhir.github.io/</id><title>Shubhankar Gambhir</title><subtitle>Technical blog on C++ performance, JVM internals, compile-time polymorphism, and systems engineering. By Shubhankar Gambhir, software engineer at Azul Systems.</subtitle> <updated>2026-05-15T22:10:35+05:30</updated> <author> <name>Shubhankar Gambhir</name> <uri>https://shubhankar-gambhir.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://shubhankar-gambhir.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://shubhankar-gambhir.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Shubhankar Gambhir </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Lazy Resolution: Resolve Once, Dispatch Forever</title><link href="https://shubhankar-gambhir.github.io/posts/lazy-resolution-resolve-once-dispatch-forever/" rel="alternate" type="text/html" title="Lazy Resolution: Resolve Once, Dispatch Forever" /><published>2026-05-12T00:00:00+05:30</published> <updated>2026-05-13T02:04:32+05:30</updated> <id>https://shubhankar-gambhir.github.io/posts/lazy-resolution-resolve-once-dispatch-forever/</id> <content type="text/html" src="https://shubhankar-gambhir.github.io/posts/lazy-resolution-resolve-once-dispatch-forever/" /> <author> <name>Shubhankar Gambhir</name> </author> <category term="C++" /> <category term="Performance" /> <summary>Deep dive into lazy resolution for C++ runtime dispatch. How a self-patching function pointer eliminates per-call overhead after a one-time resolution cost, with assembly analysis, benchmarks, and thread safety considerations.</summary> </entry> <entry><title>Four Ways to Dispatch a Runtime-Selected Strategy in C++</title><link href="https://shubhankar-gambhir.github.io/posts/four-ways-to-dispatch-a-runtime-selected-strategy-in-cpp/" rel="alternate" type="text/html" title="Four Ways to Dispatch a Runtime-Selected Strategy in C++" /><published>2026-05-07T00:00:00+05:30</published> <updated>2026-05-13T00:40:41+05:30</updated> <id>https://shubhankar-gambhir.github.io/posts/four-ways-to-dispatch-a-runtime-selected-strategy-in-cpp/</id> <content type="text/html" src="https://shubhankar-gambhir.github.io/posts/four-ways-to-dispatch-a-runtime-selected-strategy-in-cpp/" /> <author> <name>Shubhankar Gambhir</name> </author> <category term="C++" /> <category term="Performance" /> <summary>Head-to-head comparison of virtual dispatch, function pointers, std::variant, and decoupled CRTP for runtime plugin dispatch, with benchmarks, assembly, and a decision framework.</summary> </entry> </feed>
