← Back to context

Comment by locknitpicker

2 days ago

> For most code that performance tax is not worth worrying about.

Indeed, I agree. It's possible to go a long way in terms of performance with a basic understanding of passing by reference, without even having ro bother with move semantics. So these topics end up being dominated by language lawyers and the types that enjoy debating "aktualy" topics, who also contribute to making things sound far harder than what they actually are by pretending that this sort of trivia is very important stuff.

> So these topics end up being dominated by language lawyers and the types that enjoy debating "aktualy" topics,

I'm not sure about that.

Even though most people never need it, a small minority really do, and those types have to become expert in those weird details. Well you pretty much have to be a language lawyer to get these optimizations right, but the goal really is the ultimate performance in some place where it really matters.