better-monadic-for
, since those yield ()
get transformed into a massive chain of map
calls
*>
, and that's >>
*>
in ZIO is implemented with flatMap
, so it's literally >>
Ref
, but they are all bound to their own thread, so the discrete steps that comprise the fiber aren't necessarily interleaved. Would you consider that to be purely parallelism or is there something to be said about concurrency as well
Concurrency is not parallelism
on the Go (!) blog, uses a very similar one
a < b
or b < a
(where <
in this case is happened before), and therefore a
and b
are concurrent
happens before
is more general (Lamport really is a genius), but doesn't help with the aspect that matters of the talk, i.e. the logical thread as a structuring abstraction
java.lang.Thread
and Fiber
are not any different
r is it a general term
also to clarify, it depends on who's using that term, it's overloaded and often it means something even weaker than fiber. But in my talk, I meant the general idea as it applies to OS processes, Thread
, fibers, and even manually stepped coroutines (like the one in PureConc in ce3)