javelin
Spreadsheet-like dataflow programming in ClojureScript. (by hoplon)
incremental
A library for incremental computations (by janestreet)
javelin | incremental | |
---|---|---|
4 | 2 | |
799 | 836 | |
0.1% | 0.6% | |
6.3 | 5.7 | |
6 months ago | 10 days ago | |
Clojure | OCaml | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
javelin
Posts with mentions or reviews of javelin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-20.
-
Is there a reframe/cljfx-like subscription/memoization-context library available?
An aspect that flex has that is important when using it with UI frameworks is the ability to control when to start listening to something and when something updates. This is why it differentiates between "signals," which are pure calculations that are inert unless actively being listened to, and "effects" which do side effects and can be started/stopped. In React and other GUI frameworks, you need to be able to abide by the lifecycle of the framework, which means you may need to wait to start running updates until the component your effect is used in has actually appeared in the UI. This is provided by effect and listen returning a function that, when called, starts listening and calling the return value of that stops. Javelin does not give you quite this much control; defc= is eager and will start listening and updating immediately. See https://github.com/hoplon/javelin/issues/27 for their discussion about this very topic.
-
Functional Core, Imperative Shell (2012)
I asked around and there is another option. Something called "Incremental Computations". Here is a Clojure library. I think the examples kinda demo how it works
https://github.com/hoplon/javelin
incremental
Posts with mentions or reviews of incremental.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-20.
-
Is there a reframe/cljfx-like subscription/memoization-context library available?
Something like data science I think is more similar to a GUI than a microservice. Something like observablehq has already proven that this model works very well for notebooks. Incremental, one of the grandaddies of many reactive libraries and frameworks these days, was similarly developed in the context of doing data analysis and then extended into GUI programming.
-
Basic Help with understanding Ocaml and Incremental
I find this in the docs which looks v similar to what you want to do: https://github.com/janestreet/incremental/blob/master/doc/part1-preliminaries.mdx
What are some alternatives?
When comparing javelin and incremental you can also consider the following projects:
flex - flex is a reactive signal library for Clojure(Script)
missionary - A functional effect and streaming system for Clojure/Script
hoplon - Simple and powerful tool for building web apps out of highly composable elements in ClojureScript.
subscriptions - A subscriptions library over a source of data (forked + extracted from re-frame)
proto-lens - API for protocol buffers using modern Haskell language and library patterns.
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
ldap3 - A pure-Rust LDAP library using the Tokio stack