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

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.

[-] cinnamon_tea@programming.dev 2 points 3 weeks 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 3 weeks ago* (last edited 3 weeks 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 month ago

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

[-] cinnamon_tea@programming.dev 2 points 1 month 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 1 month ago* (last edited 1 month 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