I recently got bitten by exactly that std::optional
UB and here I was thinking 🤔 after 12+ years in the industry starting all the way back in the day with C++03 that modern C++ was supposed to make things better.😐
I recently got bitten by exactly that std::optional
UB and here I was thinking 🤔 after 12+ years in the industry starting all the way back in the day with C++03 that modern C++ was supposed to make things better.😐
You forgot that beauty - “undefined behavior”!
Memory-safety can guarantee only so much safety! C++ can still blow up in your face, even with all the alleged memory-safety built into C++, thanks to all the UB traps in C and C++.
Rust is the closest language that has no such “gotchas”.
Meh, I never need more than 2G usually and that too only when Firefox is running.
„Embrace, extend, extinguish."
~ Microsoft since 1995!
The Windows XP and Windows 7 I have are also from my university, from a long long time ago.😃
I have probably a couple of more Linux/BSD VMs than here (with some with GPU passthrough and one or two for ARM crossbuilding and so on) but only 2 Windows VMs - the only 2 I have legitimate licenses for.
But am I normal? Most would disagree. 😅
After almost 12~15 years of programming in C and C++, I would give myself a solid “still don’t know enough” out of 10.