[-] cinnamon_tea@programming.dev 2 points 5 days ago

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.๐Ÿ˜

[-] cinnamon_tea@programming.dev 6 points 1 week ago* (last edited 1 week ago)

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".

[-] cinnamon_tea@programming.dev 3 points 1 week ago

Meh, I never need more than 2G usually and that too only when Firefox is running.

[-] cinnamon_tea@programming.dev 2 points 2 weeks ago

The Windows XP and Windows 7 I have are also from my university, from a long long time ago.๐Ÿ˜ƒ

[-] cinnamon_tea@programming.dev 4 points 2 weeks ago* (last edited 2 weeks 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. ๐Ÿ˜…

cinnamon_tea

joined 1 month ago