manifold
core.async
manifold | core.async | |
---|---|---|
4 | 9 | |
1,008 | 1,934 | |
0.1% | -0.2% | |
5.6 | 5.1 | |
2 months ago | 3 months ago | |
Clojure | Clojure | |
- | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
manifold
-
What is the difference between Manifold and core.async?
Hi there I'm using Clojure almost a year. I've played with both Manifold and core.async a bit but I'm not %100 sure when to use core.async over Manifold or vice versa.
-
Design Request: Priority, Schedule, Timing
Also I belive that events are not good abstraction (at least fot UI things). Handling events as streams is way simpler for complex cases, but comes with some learning curve. As a fan of a single tool to handle all cases I would opt for modelling events in the language in form similar to https://github.com/clj-commons/manifold as it unites several event, deferred, stream abstractions.
-
Wait until multiple chans have a value, or timeout
Have you considered using manifold's let-flow, and timeout? Seems like it would be a perfect fit. You can chain multiple functions together that deliver deferred values, and set a timeout should they not be realized within a given timeframe. Highly composable, and simple to read.
-
Making manifold streams lazy
https://github.com/clj-commons/manifold/blob/master/docs/deferred.md#future-vs-manifolddeferredfuture
core.async
-
How to handle concurrency in Clojure with core.async
Hey, how you doing? This article was written right after I had to painstakingly read the clojure.core.async source code in order to finish a task. So, I hope I save you from the same fate as I had 😄.
- Como desenvolvi um backend web em Clojure
-
Comparison of manifold and clojure.core.async
It was created by Rich Hickey: https://github.com/clojure/core.async/commit/47b1d24c0291050a1188dbeee2fc9227f694eb3c don't think he's disavowed it lol.
-
Sleeping is not the best option
Some time ago we developed some helpers using the capturing notifications strategy to test asynchronous ClojureScript code that was using core.async channels. Have a look at, for instance, the expect-async-message assertion helper in which we use core.async/alts! and core.async/timeout to implement this behaviour. The core.async/alts! function selects the first channel that responds. If that channel is the one the test code was observing we assert that the received message is what we expected. If the channel that responds first is the one generated by core.async/timeout we fail the test. We mentioned these async-test-tools in previous post: Testing Om components with cljs-react-test.
-
What is the difference between Manifold and core.async?
Hi there I'm using Clojure almost a year. I've played with both Manifold and core.async a bit but I'm not %100 sure when to use core.async over Manifold or vice versa.
-
Rich Hickey – open-source is Not About You
If you're not familiar with lisps in general, it might be hard to grok the differences between lisp-macros (as used in Clojure) and "normal" macros you see in other languages.
But, if you are familiar already, and just wanna see examples of neat macros that makes the API nicer than what a function could provide, here are a few:
- https://github.com/clojure/core.async/blob/master/examples/w...
- https://github.com/weavejester/compojure
- https://github.com/ptaoussanis/timbre
- https://github.com/krisajenkins/yesql
-
The Clojure Mindshare (2019)
https://github.com/clojure/core.async
> and with a very poor tooling (lack of IDE's)
Lisps have fantastic support in Emacs and VSCode and are in general simple enough languages that often the heavyweight of an IDE is not needed. But if you want IDEs there are:
- 6 Years of Professional Clojure
-
Equivalent of select in core.async?
If you don't want to block the current thread, you can do the looking/waiting on another thread via thread or in a go using alts! .
What are some alternatives?
missionary - A functional effect and streaming system for Clojure/Script
promesa - A promise library & concurrency toolkit for Clojure and ClojureScript.
sente - Realtime web comms library for Clojure/Script
cloroutine - Coroutine support for clojure
aleph - Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
zio-schema - Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.
methodical - Functional and flexible multimethods for Clojure. Nondestructive multimethod construction, CLOS-style aux methods and method combinations, partial-default dispatch, easy next-method invocation, helpful debugging tools, and more.
lein-ancient - Check your Projects for outdated Dependencies
sieppari - Small, fast, and complete interceptor library for Clojure/Script
yesql - A Clojure library for using SQL.
shadow-cljs - ClojureScript compilation made easy
reagent - A minimalistic ClojureScript interface to React.js