minart icon indicating copy to clipboard operation
minart copied to clipboard

Add minart-pure interop with cats-effect/zio

Open JD557 opened this issue 5 years ago • 1 comments

It would be nice if minart-pure could be used with cats-effect and zio with minimal boilerplate. I want to keep that library pretty small, so I'm thinking of adding a minart-pure-cats and a minart-pure-zio.

The CanvasIO part should be pretty easy, but I'm not yet sure how to port the RenderLoop logic.

JD557 avatar May 23 '20 17:05 JD557

but I'm not yet sure how to port the RenderLoop logic.

After playing around with Tyrian, I think the RenderLoop should not be used here. Cats-effect/ZIO/Tyrian should be the ones to provide the runtime, and then call the low level primitives as needed.

JD557 avatar May 07 '23 21:05 JD557