208

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain ๐Ÿ˜…

you are viewing a single comment's thread
view the rest of the comments
[-] deadbeef79000@lemmy.nz 8 points 2 months ago

Fuck C and it's lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index ร— size(t) to the array pointer.

Bounds checking? We've heard of it.

[-] Naich@lemmings.world 7 points 2 months ago
[-] deadbeef79000@lemmy.nz 15 points 2 months ago

Like riding a motorcycle in a tee shirt and shorts.

[-] BigDanishGuy@sh.itjust.works 12 points 2 months ago* (last edited 2 months ago)

And sun glasses, don't forget the aviators.

While Mr "I can't code without a garbage collector" is still putting on his backplate of "oh no pointers are bad" and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.

But then again I really don't like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.

[-] deadbeef79000@lemmy.nz 4 points 2 months ago

embedded RTOS

That sounds like a domain where memory safety is secondary to size and speed... though compile time memory safety guarantees could help.

Good thing we have so many options!

This is the hardest I've seen a someone try to not mention Rust. I'm actually impressed.

[-] BigDanishGuy@sh.itjust.works 1 points 2 months ago

Have you seen rust? I couldn't code like that, what a silly language https://lemmy.world/post/26105353

[-] letsgo@lemm.ee 5 points 2 months ago

I've ridden a motorbike in a T-shirt and kilt before. That's ... fun ...

[-] logging_strict@programming.dev 1 points 2 months ago

so what if it's 100x slower /nosarc

this post was submitted on 01 Mar 2025
208 points (93.3% liked)

Programmer Humor

23417 readers
1715 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