this post was submitted on 26 Nov 2025
614 points (99.4% liked)

Programmer Humor

27499 readers
1492 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
you are viewing a single comment's thread
view the rest of the comments
[–] ZILtoid1991@lemmy.world 45 points 23 hours ago (4 children)

Nah, those are double deckers.

[–] Ajen@sh.itjust.works 3 points 9 hours ago

Both decks of the bus follow the same [code] path. That's a lot more like increasing the buffer size.

[–] Warl0k3@lemmy.world 24 points 23 hours ago* (last edited 23 hours ago) (1 children)

Making the word bigger doesn't mean there's more threads per, it just reduces the number of calls to complete some kinds of ops (and something about RAMing busses into each other and... cache locations? idk I'm sleepy)

[–] ZILtoid1991@lemmy.world 8 points 22 hours ago (2 children)

The double deckers are an example of a ready-made solution in the original language's standard library, the lower one is getting multithreading working through the C ABI bindings, using some 3rd party solution, all while multithreading a lot of other tasks in the application.

[–] ozymandias@lemmy.dbzer0.com 4 points 16 hours ago

nah, then each bus’s beginning and end would be restarting the whole program… the first picture should be a five lane freeway at rush hour

[–] Warl0k3@lemmy.world 5 points 22 hours ago

Yeah, I can live with that. Well done!

[–] JeeBaiChow@lemmy.world 10 points 22 hours ago

You sure they're not dwords on a single bus?

[–] sunbeam60@feddit.uk 2 points 19 hours ago