This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-08
Channels
- # admin-announcements (42)
- # clara (8)
- # cljs-dev (2)
- # clojure (132)
- # clojure-argentina (4)
- # clojure-berlin (3)
- # clojure-brasil (3)
- # clojure-dev (8)
- # clojure-france (2)
- # clojure-hamburg (2)
- # clojure-india (1)
- # clojure-italy (4)
- # clojure-nl (1)
- # clojure-russia (31)
- # clojure-spain (1)
- # clojurescript (154)
- # core-async (19)
- # datomic (16)
- # devcards (43)
- # funcool (3)
- # hoplon (4)
- # immutant (8)
- # jobs (4)
- # ldnclj (71)
- # off-topic (1)
- # om (4)
- # onyx (30)
- # re-frame (3)
- # reagent (6)
- # remote-jobs (2)
- # ring (2)
does anyone know of a library for doing a sort of graph-based dependency management for async tasks?
I’m familiar with Muse, but it doesn’t quite solve the problem I’m dealing with which is more about making sure things happen in the right order
mattly: stuff like that is really, really important for experimentation. I've been thinking about async dataflow-y kinds of things that you could build on top of core.async, lots of possibilities. @bbloom may have some ideas, too
mattly: prismatic graph? https://github.com/Prismatic/plumbing/blob/master/src/plumbing/graph_async.cljx
A good starting point would be thinking, how could you describe the dataflow in an application at the micro- and macro-level? What could you do in a lisp that golang's goroutines and channels cannot express? What abstractions should exist above goroutines?
We have done some work implementing applicative do syntax, that allows compose async operations
That is your problem? I have read "does anyone know of a library for doing a sort of graph-based dependency management for async tasks?" and I think that the upcoming applicative do syntax is just doing similar thing
Maybe I'm wrong but the alet
macro is just does that, builds a dependency graph for the bindings and try to execute them in batches. Here some examples using it with core.async channels and manifold deferreds: https://github.com/funcool/cats/blob/master/doc/content.adoc#81-channel
@niwinz: so it turns out alet
is at least something that is in the right direction of what I’m trying to do, but it’s not in the published version of cats yet
@mattly: Is Ztellman's manifold too networky? Specifically: https://github.com/ztellman/manifold/blob/master/docs/deferred.md#let-flow.