News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by commonlisp94 on Friday August 18, 2023 @05:08PM (#37182128)
A pointer is a valid C++ iterator.

> but you trust it to optimize all that garbage away?

Yep, if you learn about compilers you learn what kind of optimizations are easy and hard for them to make. The kind that just flattens a few levels of nested definitions are easier.

There are no comments on this comment yet.