News for hackers. Stuff that matters.
Re:Care is needed to use C++ std:optional with non-trivial o... by jay-barronville on Friday January 13, 2023 @08:30AM (#34367366)
I 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?
Re:Care is needed to use C++ std:optional with non-trivial o... by bluGill on Friday January 13, 2023 @09:00AM (#34367795)
Hopefully. 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)