core.async
promesa
core.async | promesa | |
---|---|---|
9 | 4 | |
1,934 | 479 | |
-0.2% | 1.3% | |
5.1 | 7.7 | |
3 months ago | about 1 month ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Mozilla Public License 2.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.
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! .
promesa
-
Comparison of manifold and clojure.core.async
Another thing is that Promesa is yet another clojure async library that seems to be actively developed lately and as of recently has its own CSP implementation that seem to fill a similar role as core.async. I haven't used the CSP stuff much but the core promesa library is a solid minimal wrapper on native futures (ie CompleteableFuture on the JVM), filling the role of the deferred half of Manifold.
-
How to deal with many threads at the same time?
Promesa might be a good fit too: https://github.com/funcool/promesa
-
GitHub - athos/kitchen-async: A Promise library for ClojureScript, or a poor man's core.async
https://github.com/funcool/promesa is quite similar but does not depend on core.async, it just uses vanilla Promises. It is the built-in promise library in nbb
- 6 Years of Professional Clojure
What are some alternatives?
cloroutine - Coroutine support for clojure
kitchen-async - A Promise library for ClojureScript, or a poor man's core.async
zio-schema - Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.
lein-ancient - Check your Projects for outdated Dependencies
yesql - A Clojure library for using SQL.
Shapeless - Generic programming for Scala
shadow-cljs - ClojureScript compilation made easy
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
reagent - A minimalistic ClojureScript interface to React.js