You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
start { sleep1.5; print"hi" }
awaitSupply.from-list(<A B C D E F>).throttle:2, {
sleep0.5;
.print
}
# OUTPUT: ABCDhiEF
A cursory glance looks like that is concurrency (running multiple idling things in tandem vs sequentially). This is not parallelism, which would require multi-threading and running across multiple cores (active processing/computing) at the same time.
Should this tab title be changed to "Async & Concurrency" ?
The text was updated successfully, but these errors were encountered:
Opening page has a tab/sample for "Async & Parallelism" - does perl6 / that sample illustrate parallelism or concurrency?
https://perl6.org/
This sample:
A cursory glance looks like that is concurrency (running multiple idling things in tandem vs sequentially). This is not parallelism, which would require multi-threading and running across multiple cores (active processing/computing) at the same time.
Should this tab title be changed to "Async & Concurrency" ?
The text was updated successfully, but these errors were encountered: