Great explanation. Would love to listen to more internals of Cat-effects and related libraries? Are there other talks which explain the internal workings of Cats-effects, apart which were skipped?
@frankzhong9810
3 жыл бұрын
this is wonderful, thank you! looking forward to next episode abour blocking and resource safety if possible.
@Argcz
4 жыл бұрын
Awesome! Thank you!
@klasus2344
Жыл бұрын
Insanely good explanation of async and concurrency!!
@amislouma
Жыл бұрын
Thanks
@kubukoz_
4 жыл бұрын
Just noticed, in `spawn` around 54:00, the return type is `IO[Unit]`, not `IO[A]`. The result of the `IO[A]` is discarded (in `_ => ()`).
@Ruzveld83
9 ай бұрын
So, where can I found explanation what is going on under the hood to avoid blocking a platform thread when when a code invokes a real blocking code inside a fiber?
@Ruzveld83
9 ай бұрын
Here you go: typelevel.org/cats-effect/docs/thread-model#thread-blocking
@Ruzveld83
9 ай бұрын
I found the answer at Thread Model section of Cats Effect doc
@ayushmittal2581
4 жыл бұрын
30:39 ..why does the API have a def unsafeRunSync(fa: IO[A]) : A ?? the method should be on a IO[A] and not require a IO[A].
@gvolpe87
4 жыл бұрын
He's just implementing *The Simplest IO* and that's a design decision. You can choose to have a RTS (runtime system) like ZIO does, define it in IO like cats-effect does or just have a single method in your simple API like in this talk. There's not one single way to do it.
Пікірлер: 12