3 ms·
Most languages don't let you reason about such things. You just copy things around with no clue or care if it is fast or slow. Most problems don't need that le
by bluGill 4y ago
Most languages don't let you reason about such things. You just copy things around with no clue or care if it is fast or slow.
Most problems don't need that level of reasoning, but when it matters C++ gives you a lot of power to ensure you can control when it happens.
- jay-barronville 4y agoI mean, 9x out of 10, the very reason to use a low-level language like C++ is precisely because you want or need to reason about such things, no?
- bluGill 4y agoHopefully. There are other low level tasks (device drivers) that you might not care, but need C++'s ability to get close to the hardware for, but in general C++ is for when you need both abstractions and the ability to control performance. (Rust, C, ada, and other such languages also play in this space as well, which is best is not something I can comment on)