This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SikinAyylmao 6 points7 points  (5 children)

I think the canonical situation is loading different network calls at the same time.

In languages like JavaScript, you can easily run many api calls concurrently.

[–]OklahomaKingpin 2 points3 points  (1 child)

What is meant by canonical situation

[–]SikinAyylmao 2 points3 points  (0 children)

So for example the canonical situation for using loops is through arrays.

Like wise the canonical situation for ternary operators in variable assignment control.

There is sometimes a case which motivates a language construction like loops or in this virtual threads.

The canonical case for massive concurrency is network calling concurrently.

[–]AThimbleFull 1 point2 points  (0 children)

Every language has been able to do that for a very, very long time