lumo
babashka
lumo | babashka | |
---|---|---|
5 | 123 | |
1,894 | 4,080 | |
- | 0.6% | |
0.0 | 9.2 | |
over 2 years ago | 6 days ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | 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.
lumo
-
Clojure Scripting on Node.js
Is this similar to Lumo (https://github.com/anmonteiro/lumo)? I would assume Lumo has a faster start time since it boots from a V8 snapshot, but otherwise I'd assume the two projects are similar (except that, of course, lumo is EOL)
- Clojure – Differences with Other Lisps
-
Clojure, but without the JVM?
Lumo: a standalone ClojureScript environment, runs on Node.js. Doesn't seem to have its own reader conditional, uses :cljs.
-
Racket v8.0 is out!
Lumo and Planck (standalone Clojurescript environments, based on Node and on JavaScriptCore with some additional functionality to make it suitable for scripting, respectively), and Clojerl (Clojure implemented on BEAM). Startup times are comparable to e.g. Racket.
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?
etaoin - Pure Clojure Webdriver protocol implementation
janet - A dynamic language and bytecode vm
joker - Small Clojure interpreter, linter and formatter.
planck - Stand-alone ClojureScript REPL
nbb - Scripting in Clojure on Node.js using SCI
awesome-clojure-likes - Curated list of Clojure-like programming languages.
malli - High-performance data-driven data specification library for Clojure/Script.
Fennel - Lua Lisp Language
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation
racket - The Racket repository