cinnamon_tea

joined 2 months ago
[โ€“] cinnamon_tea@programming.dev 14 points 3 weeks ago (1 children)

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.

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 month ago* (last edited 1 month 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".

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

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 1 month ago* (last edited 1 month ago) (2 children)

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