cats-effect
cats-effect copied to clipboard
The pure asynchronous runtime for Scala
- Replace `@volatile`s with loads/stores with precise memory orders - Replace `TrieMap` with `ConcurrentHashMap` ? - Replace `unistd.{write,read}` with bindings not marked `@blocking`
Follow up from #4201 We didn't port this over, but it's probably just as meaningful on Native as it is on the JVM.
Following up from #4201 We didn't port over blocked thread detection. Should experiment with how this works on native and enable it if possible.
#4320 benchmark reference: ``` withBarrier (volatile) : ~5.2M ops/s withoutBarrier (plain) : ~5.3M ops/s (unsafe for fibers) javaFullFence : ~800K ops/s (overkill) ``` optimizing further makes no sense because `VarHandle/Unsafe`...
Resolves #3535
For [issue](https://github.com/typelevel/cats-effect/issues/1618)
Implements the `JobManager` idea proposed in #1345 ----- ## Roadmap - [ ] Define the API. - [ ] Implement it. - [ ] Add tests. - [ ] Add...