Comment by const_cast

1 day ago

> Couldn't you create even faster software if you went down another level? Why don't you?

No, actually, C++ is pretty much as low as you can go.

Well, I mean, you can go lower but you're not going to get performance benefits. You could go down to C. But C is going to be more of the same or, more likely, slower. You're going to be swapping Templates for things like void *.

You could go to assembly, but let's be honest - who can write better assembly than a C++ compiler?

> You could go to assembly, but let's be honest - who can write better assembly than a C++ compiler?

In other words, yes you can eek out more performance at lower levels. Then again at the silicon level. No, it's not worth it in 99.9999% of scenarios (because there are tradeoffs).