babashka
sci
Our great sponsors
babashka | sci | |
---|---|---|
112 | 20 | |
3,798 | 1,166 | |
1.0% | 1.9% | |
9.2 | 7.5 | |
8 days ago | 3 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.
babashka
-
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.
-
Adding Dependencies on Clojure Project the Node Way: A Small Intro to neil CLI
Created by the same guy who created babashka which is a way to write bash scripts, node scripts, and even apple scripts using Clojure. A very proficient and influential developer in the Clojure community. This is how borkduke's neil helps us:
- Babashka
-
Pure Bash Bible
Not what you asked for but there is Babashka for scripting in Clojure.
https://github.com/babashka/babashka
-
Critique of Lazy Sequences in Clojure
Clojure's lazy sequences by default are wonderful ergonomically, but it provides many ways to use strict evaluation if you want to. They aren't really a hassle either. I've been doing Clojure for the last few years and have a few grievances, but overall it's the most coherent, well thought out language I've used and I can't recommend it enough.
There is the issue of startup time with the JVM, but you can also do AOT compilation now so that really isn't a problem. Here are some other cool projects to look at if you're interested:
Malli: https://github.com/metosin/malli
Babashka: https://github.com/babashka/babashka
Clerk: https://github.com/nextjournal/clerk
-
Sharpscript: Lisp for Scripting
Being a Clojure addict, I guess I have to leave the obligatory link to Babashka too then: https://github.com/babashka/babashka (Native, fast starting Clojure interpreter for scripting)
-
Rash – The Reckless Racket Shell
which is now on hiatus. babashka: https://babashka.org
-
Are there any languages (that are in common use in companies) and higher-level that give you the same feeling of simplicity and standardization as C?
I've enjoyed babashka for scripting; which is close enough to clojure to allow using some/many libraries; but (probably) not for embedding.
sci
-
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.
- Sci: Configurable Clojure/Script interpreter suitable for scripting
-
Windmill: Open-source developer platform to turn scripts into workflows and UIs
https://github.com/babashka/SCI if it's a requirement for proper sandboxing
-
Embedding cherry in an existing CLJS app for runtime eval
Since cherry is a compiler, the code generally runs faster than with SCI which is an interpreter. For many cases SCI is fast enough, but numerical computations in a hot loop isn't one of its strenghts:
-
Compiled and Interpreted Languages: Two Ways of Saying Tomato
Startup and sustained performance are absolutely implementation issues. For example, SBCL will take its sweet time to make machine code out of Common Lisp, but CLISP will interpret and generate bytecode. Both are useful, and both implement the same language. Clojure on the JVM takes also takes plenty of time to start up, so some use an interpreter instead. Furthermore neither of these languages has a cost model, so the cost of anything is an implementation issue.
- Show HN: Programming Google Flutter with Clojure
-
Third party integrations with a monolithic Clojure app
So far we have relied on an increasing number of home-grown integration points to our platform, where relevant combined with the excellent SCI (so we can write some Clojure-code when adhoc data conversions / calculations / tweaking is required).
-
Scala native equivalent to Clojure
Also take a look at SCI, https://github.com/babashka/sci/blob/master/doc/libsci.md
-
Langdev in Clojure
You probably want to take a look at sci if you are creating a DSL or want to use Clojure itself as your DSL.
-
ClojureRS – Clojure interpreter implemented in Rust
Built with the lovely SCI library (https://github.com/babashka/sci) + GraalVM, probably the most useful GraalVM project I've seen in the wild so far.
Also, Babashka will probably always support more features than ClojureRS could ever, particularly the interop with the various Java classes/functions, as that'd be very hard to achieve in ClojureRS.
What are some alternatives?
janet - A dynamic language and bytecode vm
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation
malli - High-performance data-driven data specification library for Clojure/Script.
tailwindcss-typography - Beautiful typographic defaults for HTML you don't control.
joker - Small Clojure interpreter, linter and formatter.
hotwire-rails - Use Hotwire in your Ruby on Rails app
nbb - Scripting in Clojure on Node.js using SCI
mdx - Markdown for the component era
rich4clojure - Practice Clojure using Interactive Programming in your editor
racket - The Racket repository
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.