2 ms·
See my other comment about Capsule Shield: https://github.com/puniverse/capsule-shield https://github.com/puniverse/capsule-shield
by pron 11y ago
See my other comment about Capsule Shield: https://github.com/puniverse/capsule-shield https://github.com/puniverse/capsule-shield
- _Codemonkeyism 11y agoYou're from Parallel Universe? I've played with the idea of a programming language, looking for an async layer that supports Scala style Future[T]s. Possible with Quasar?
- pron 11y agoNot entirely sure what you mean by "the idea of a programming language". Scala-like futures are already in the JDK as CompletableFuture. Quasar is something different (and, I believe, better): it provides true fibers (aka lightweight threads), just like Erlang or Go.
- _Codemonkeyism 11y agoI've meant playing with the idea for a programming language. With Future I've meant would it be easy to put a Future based API which I like b/c of composiblity on top of Quasar, e.g. on top of fibers. (Futures are just an API to concurrency not concurrency itself that can sit on actors, forkjoin, ...)
- pron 11y agoThen sure. But check out this talk/blog post, which explains why such monadic futures are not a good way to compose asynchronous code: http://blog.paralleluniverse.co/2015/08/07/scoped-continuations/ http://blog.paralleluniverse.co/2015/08/07/scoped-continuati...