this post was submitted on 19 Apr 2023
3 points (71.4% liked)
General Programming Discussion
7803 readers
1 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, I was curious about Lisp for a while, but just couldn't get into it until Clojure came out. I find the additional syntax for data literals makes a huge difference in readability. Janet takes a lot of the good parts of Clojure and packages them into a nice and small runtime.
Babashka is another similar project I can highly recommend. It's a Clojure runtime compiled against Graalvm, so it's also very lightweight and has instant startup. The nice part with Babashka is how batteries included it is. You have an HTTP server, you can connect to Postgres, parse JSON, etc. all works out of the box. And you can even do REPL driven development against it. You just run
bb --nrepl-server
and connect the editor to it. For example, here's a full blown HTTP server that can be run as a script: