2
submitted 3 months ago by yogthos@lemmy.ml to c/lisp@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] davel@lemmy.ml 2 points 3 months ago

On first impression and never having worked with Lua, this sounds like Guile with extra steps.

[-] yogthos@lemmy.ml 2 points 3 months ago

It's mostly about having access to Lua ecosystem, also I'm personally a fan of Clojure style syntax. I find having literal syntax for maps, sets, and vectors in addition to lists, as well as stuff like destructuring, helps with readability.

[-] davel@lemmy.ml 2 points 3 months ago

I’m personally a fan of Clojure style syntax.

Me too, at least in theory. I’ve followed Clojure pretty closely for someone who’s yet to actually use it except as a toy.

[-] yogthos@lemmy.ml 2 points 3 months ago

I've been lucky to work with it more or less exclusively for over a decade now. At this point I don't even want to touch anything else. :)

[-] davel@lemmy.ml 1 points 3 months ago

I’d like to work with Clojure, but I have a (perhaps irrational) dislike of the JVM, so I tend to keep an eye on Clojure dialects/descendants.

[-] yogthos@lemmy.ml 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

[-] davel@lemmy.ml 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.

[-] yogthos@lemmy.ml 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

668 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