this post was submitted on 31 Aug 2025
312 points (96.4% liked)

Programmer Humor

26184 readers
695 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
 

Finally I have a valid reason to learn about memory management. It was also hella weird when encountering it.

(page 2) 14 comments
sorted by: hot top controversial new old
[–] mhague@lemmy.world 1 points 1 week ago

Cruft can be a hard thing to debug. Mainly when you're not used to memory issues and haven't learned all the best practices.

There's also zig if you want to play with memory. You'll know a lot about allocation, that's for sure.

[–] 6nk06@sh.itjust.works -5 points 1 week ago (16 children)

I've used C++20 on embedded devices and the generated code was simpler than the C version. Why do you still use C?

load more comments (16 replies)
load more comments
view more: ‹ prev next ›