←back to thread

289 points kristoff_it | 1 comments | | HN request time: 0s | source
Show context
raluk ◴[] No.44609651[source]
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 ◴[] No.44610056[source]
That's because f2's result could depend on whether f1 has executed.