core.async
missionary
core.async | missionary | |
---|---|---|
9 | 24 | |
1,934 | 605 | |
-0.2% | - | |
5.1 | 7.8 | |
3 months ago | 12 days ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Eclipse 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! .
missionary
- Humble Chronicles: Managing State with Signals
- Is there a reframe/cljfx-like subscription/memoization-context library available?
-
[Blog] The Web Before Teatime
I think the reactive query problem is more of a spectrum of tradeoffs, there's a middle ground between "full page refresh on nav" and "refresh all query subscriptions per user per tx". Truly realtime things like chat come from a streaming event source (not a database) and even in a chat app, most of the information coordinates on a page is slow moving. So really this is about regaining control over concurrent data flow so we can sample different views at different speeds. See technologies like https://github.com/leonoel/missionary.
-
Comparison of manifold and clojure.core.async
I wonder if anyone can compare these to missionary?
-
Is there a general IO library built to work with core.async?
related: https://github.com/leonoel/missionary
-
Structuring Clojure Applications
- https://github.com/leonoel/missionary
-
IO/async monad without the indirect monadic style: Possible? needed?
https://github.com/leonoel/missionary has excellent syntax, it uses a macro to extend regular clojure syntax with monadic join operator ā basically turning clojure sexprs into do-notation
-
What are the essential libraries to learn for web dev
I recommend having a look at missionary - it is probably the most essential library in our application. But it depends on what type of application you are building.
-
UIs are streaming DAGs
Process supervision is what Missionary implements: https://github.com/leonoel/missionary
-
Questions about Rich Hickey's comments on static types
Agree - mostly the opinions are just dated, in 2005-2012 the pure FP world (especially Scala) was in rough shape but then in 2018 Maybe Not (the really controversial talk about "Maybe Sheep") it didn't seem like he had taken the time to understand haskell. I would love to see how his opinions have evolved since then, in the 2017 interview with fogus he said "If I had more free time, Iād spend it with Haskell". Haskell has especially come a long way in 2018-2022 with the popularization of functional effect systems which are extraordinarily powerful; for example https://github.com/leonoel/missionary (2020-2022) is the best Clojure effect system and is a leap forward over core.async (2013), but that 9 year difference is a lifetime in CS
What are some alternatives?
promesa - A promise library & concurrency toolkit for Clojure and ClojureScript.
awesome-clojure - A curated list of awesome Clojure libraries and resources. Inspired by awesome-... stuff
cloroutine - Coroutine support for clojure
honeysql - Turn Clojure data structures into SQL
zio-schema - Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.
react-grid-layout - A draggable and resizable grid layout with responsive breakpoints, for React.
lein-ancient - Check your Projects for outdated Dependencies
reitit - A fast data-driven routing library for Clojure/Script
yesql - A Clojure library for using SQL.
malli - High-performance data-driven data specification library for Clojure/Script.
shadow-cljs - ClojureScript compilation made easy
manifold - A compatibility layer for event-driven abstractions