this post was submitted on 26 Nov 2025
606 points (99.3% liked)

Programmer Humor

27500 readers
1514 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
[–] Warl0k3@lemmy.world 91 points 21 hours ago (3 children)

hang on, that first image is everything on a single thread...

[–] Harvey656@lemmy.world 7 points 14 hours ago

We've been swindled, perhaps even bamboozled!

[–] ZILtoid1991@lemmy.world 45 points 21 hours ago (4 children)

Nah, those are double deckers.

[–] Ajen@sh.itjust.works 3 points 6 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 20 hours ago* (last edited 20 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 20 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 13 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 20 hours ago

Yeah, I can live with that. Well done!

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

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

[–] sunbeam60@feddit.uk 2 points 16 hours ago
[–] SpaceNoodle@lemmy.world 2 points 18 hours ago

Each bus is a timeslice