this post was submitted on 12 Jun 2025
544 points (98.9% liked)

Programmer Humor

24144 readers
2196 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
544
centerDiv.js (lemmy.blahaj.zone)
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 day ago (1 children)

You can wrap everything in unsafe and keep living dangerously!

[–] [email protected] 4 points 1 day ago (1 children)

unsafe doesn't deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.

[–] [email protected] 3 points 18 hours ago

I know, but it does let you sled off a cliff if you choose to.