lazy-seq
babashka
lazy-seq | babashka | |
---|---|---|
1 | 123 | |
10 | 4,028 | |
- | 0.9% | |
0.0 | 9.0 | |
12 months ago | 4 days ago | |
Fennel | Clojure | |
MIT License | 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.
lazy-seq
-
Clojure, but without the JVM?
I believe there are more projects than that. I, personally, invest a lot of time into Fennel, as it's very minimal, and Lua runtime is very easy to extend as you like. I've implemented Clojure-like library for lazy sequences, and the cljlib - a library that ports a lot of functions and macros from clojure.core namespace.
babashka
-
Tour of Hell
Good reminders; just not readily seeing Babashka (Clojure through GraalVM) so mentioning here for sake of sexp closure.
https://github.com/babashka/babashka
-
Clojure 1.12.0 is now available
> Does any of this release help with startup time?
Clojure (and indirectly Java) was never created with "fast startup speed" in mind. This is why things like `add-lib` (that was added in this release) is so useful, because you start your developing session once, and it stays open until you either have to restart your computer or done developing the project.
Then the typical deployment target is either "Push this .jar to a server somehow, start the process and let it run" or "User double-clicks executable, waits for application to be ready".
If you really need fast startup, you can go through something like https://github.com/ionutbalosin/faster-jvm-start-up-techniqu...
Or if you're fine with slightly worse runtime performance, give https://github.com/babashka/babashka a try
Finally, if you're OK with JavaScript you could give ClojureScript a try, has fast startup (as fast as NodeJS I suppose) but yeah, it's JavaScript.
But overall, Clojure/Java isn't optimized for the use-case of "Start process for each request, stop process once processed" so I'm guessing you'll face an uphill battle there.
-
CIEL Is an Extended Lisp
You should meet this nice https://github.com/babashka/babashka !
It is Clojure written in Clojure compiled to native via GraalVM.
-
Makefiles for Web Work (2022)
A bit late to the party but have you heard of or tried babashka? It's kinda the nuclear option but it might fit your use case.
https://babashka.org/
- Clojure Desktop UI Framework
- Common Lisp for Shell Scripting
-
Try Clojure
Check out Babashka. It's a single binary that runs Clojure without a JVM. It also starts up really fast and uses a lot less memory: https://github.com/babashka/babashka
That said, there are reasons you may want to use the JVM Clojure later. It might be interesting to read the replies to another poster with similar concerns about the JVM: https://news.ycombinator.com/item?id=40445415
-
A Tour of Lisps
It also gives you access to Babashka if you want Clojure for other use-cases where start-up time is an issue
https://babashka.org/
- Babashka: Fast native Clojure scripting runtime
-
What's the value proposition of meta circular interpreters?
I've tried researching this myself and can't find too much. There's this project metaes which is an mci for JS, and there's the SCI module of the Clojure babashka project, but that's about it. I also saw Triska's video on mci but it was pretty theoretical.
What are some alternatives?
clojerl - Clojure for the Erlang VM (unofficial)
janet - A dynamic language and bytecode vm
awesome-clojure-likes - Curated list of Clojure-like programming languages.
joker - Small Clojure interpreter, linter and formatter.
fennel-cljlib - Port of clojure.core namespace to Fennel (mirror)
nbb - Scripting in Clojure on Node.js using SCI
planck - Stand-alone ClojureScript REPL
malli - High-performance data-driven data specification library for Clojure/Script.
Fennel - Lua Lisp Language
racket - The Racket repository
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation