https://en.cppreference.com/w/cpp/language/Zero-overhead_pri...
Although:
https://www.youtube.com/watch?v=rHIkrotSwcc
I'm not sure whether Rust people consistently use it with precisely the same sense.
Some folks use “zero overhead abstraction” to try and make the concept a bit more clear, since everything has some cost somewhere. “Zero cost” can feel incorrect.
Creating and adding DOM nodes is definitely not free, but I can see how this is very low overhead compared to VDOM diffing.
> What you don’t use, you don’t pay for (in time or space) and further: What you do use, you couldn’t hand code any better.
https://en.cppreference.com/w/cpp/language/Zero-overhead_pri...
Although:
https://www.youtube.com/watch?v=rHIkrotSwcc
I'm not sure whether Rust people consistently use it with precisely the same sense.