this post was submitted on 04 Nov 2025
425 points (99.1% liked)

Programmer Humor

27193 readers
1019 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
[–] ptu@sopuli.xyz 4 points 10 hours ago (1 children)

So all items in the array are launched simultaneuously and ran in parallel instead of sequentially?

[–] scrion@lemmy.world 3 points 8 hours ago (1 children)

They are launched sequentially, but run simultaneously, yes - at least some of them. And they run concurrently but not in parallel - using a single execution context, there is only a single thread, so no parallelism exist.

[–] ptu@sopuli.xyz 1 points 7 hours ago

I see, I was only aware of sleep but that makes sense. Thanks for your insight.