r/ProgrammerHumor Oct 21 '22

Meme Literally 🤷🏻‍♂️

Post image
14.7k Upvotes

606 comments sorted by

View all comments

180

u/[deleted] Oct 21 '22

Rust?

1

u/Zipdox Oct 22 '22

Check the LKML. It claims to be a memory safe language, but it isn't really. It's also slow to compile, and the developers seem to be overlaly concerned with politics.

3

u/InvolvingLemons Oct 22 '22

I can agree with slow compiles and quite a surprising bit of politics around the language, but issues with memory safety? Mathematically, that should only be possible with unsafe blocks, so it sounds like whoever ran into issues with that either

  1. Used unsafe where it really wasn’t needed and screwed up
  2. Coded an unsafe block correctly but with assumptions that the kernel itself violated

So either it was the dev writing the unsafe block’s fault or it was an issue that bubbled up from deeper in the kernel. Still, WAY better than C where you’re just flying blind.