cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agotimeoutSortlemmy.mlimagemessage-square34linkfedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square34linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareptu@sopuli.xyzlinkfedilinkarrow-up0·6 days agoSo all items in the array are launched simultaneuously and ran in parallel instead of sequentially?
minus-squarescrion@lemmy.worldlinkfedilinkarrow-up0·6 days agoThey 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.
So all items in the array are launched simultaneuously and ran in parallel instead of sequentially?
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.