/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Asynchrony is not concurrency
(kristoff.it)
289 points
kristoff_it
| 1 comments |
18 Jul 25 19:21 UTC
|
HN request time: 0s
|
source
Show context
raluk
◴[
18 Jul 25 20:46 UTC
]
No.
44609651
[source]
▶
>>44608754 (OP)
#
One thing that most languages are lacking is expressing lazy return values. -> await f1() + await f2() and to express this concurently requres manually handing of futures.
replies(3):
>>44609880
#
>>44610056
#
>>44610348
#
1.
zmj
◴[
18 Jul 25 21:30 UTC
]
No.
44610056
[source]
▶
>>44609651
#
That's because f2's result could depend on whether f1 has executed.
ID:
GO
↑