2
submitted 3 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 3 months ago

The JVM can be a bit of a resource hog, but it works well for stuff like web services which is what I mostly work on. That said, I highly recommend checking out babashka https://github.com/babashka/babashka

It's a graal compiled Clojure runtime that has a small memory footprint and instant startup. I've been using it a lot for scripting, and making small web apps like dashboards and it's been pretty nice, here's an example https://lemmy.ml/post/15390028

[-] [email protected] 1 points 3 months ago

There’s also some kind of experiment going on where a JVM runtime is preloaded with Clojure, and that JVM & runtime is somehow frozen, packaged and deployed as an executable, thus eliminating the very high Clojure startup cost. I don’t remember where I saw this, unfortunately.

[-] [email protected] 2 points 3 months ago

Yeah, there's been some work for speeding up clj running on the regular JVM, but I find it never really gets much interest. I think most people use clj for stuff like web services that are long running, and locally develop via the REPL so restarts aren't common.

One project worth watching is Jank, it aims to be mostly compatible but running on LLVM, still not quite production ready, but seems to have some community funding and being developed pretty actively https://jank-lang.org/

this post was submitted on 19 Jun 2024
2 points (75.0% liked)

Lisp Community

674 readers
1 users here now

A community for the Lisp family of programming languages.

Lisp (historically LISP) is a family of programming languages with a long history and a distinctive, fully parenthesized prefix notation. Originally specified in 1958, Lisp is the second-oldest high-level programming language. Only Fortran is older, by one year.

History

Associations and meetings

Resources - TODO

Related communities (dialects) - TODO

founded 5 years ago
MODERATORS