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

Programmer Humor

27933 readers
504 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 107 points 3 weeks ago (3 children)

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

[–] ZILtoid1991@lemmy.world 49 points 3 weeks ago (4 children)

Nah, those are double deckers.

[–] Warl0k3@lemmy.world 27 points 3 weeks ago* (last edited 3 weeks 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 3 weeks 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.

[–] Warl0k3@lemmy.world 5 points 3 weeks ago

Yeah, I can live with that. Well done!

[–] ozymandias@lemmy.dbzer0.com 3 points 3 weeks 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

[–] JeeBaiChow@lemmy.world 10 points 3 weeks ago

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

[–] Ajen@sh.itjust.works 4 points 3 weeks ago

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

[–] sunbeam60@feddit.uk 2 points 3 weeks ago
[–] Harvey656@lemmy.world 7 points 3 weeks ago

We've been swindled, perhaps even bamboozled!

[–] SpaceNoodle@lemmy.world 2 points 3 weeks ago

Each bus is a timeslice