New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate: replace FastFuture with new future + ExecutionContext.callingThread #2461
Comments
Note that we will be blocked on supporting Scala 2.11 (less) and 2.12 (more) for quite some time before we can actually migrate if it turns out on par. Good to investigate though. |
@johanandren True—would be great to see what the diff looks like. |
It has been renamed to ExecutionContext.parasitic
--
Cheers,
√
|
The main benefit of Given the low complexity and maintenance overhead of |
Getting stack safety is nice tho?
|
I think there's no recursion involved in |
Ah, I'm thinking more if you mix Future and FastFuture. |
I'm only mildly curious (it came up in a chat room), but perhaps I'm not the only one now wondering where this stands after scala/scala#7470 (Scala 2.13.0) and scala/scala#9270 (Scala 2.13.4) |
See if FastFuture could be replaced by the new Future implementation combined with using
ExecutionContext.callingThread
shown here: https://github.com/scala/scala/pull/7784/filesthanks @viktorklang
The text was updated successfully, but these errors were encountered: