Posts by danielp

@danielp

Daniel Petrovic

Software Engineer
Austria, Bregenz Joined September 2026
211 Points • 16 Badges • 6 Connections • 6 Followers • 9 Following

Posts by danielp

danielp • • in Articles • 9 min read
Generic C++ code needs customization points whenever a library wants to operate on types it doesn't own. The problem is deceptively simple: how can a library let users customize an operation without requiring inheritance, runtime dispatch, or modific...
danielp • • in Articles • 13 min read
C++20 Modules replace C++'s traditional textual inclusion model with a compiled module interface. Instead of repeatedly preprocessing the same headers in every translation unit, consumers explicitly import the interface they depend on. No more header...
danielp • • in Articles • 19 min read
What happens to a register when you call a function? On AArch64, the answer isn't "the CPU saves it." When you call a function, the CPU doesn't look at a register table and decide what to preserve. BL doesn't know about caller-saved or callee-saved ...
chevron_left