Hacker News new | ask | show | jobs
by Borkdude 1411 days ago
Author here. Ask me anything on nbb.
2 comments

What's the difference between this and Clojurescript?
The main difference is that nbb lets you execute a .cljs file straight away, without a compilation step. As such, it doesn't need any JVM tooling. You can create an AWS Lambda with only a couple of lines of code:

https://blog.michielborkent.nl/aws-lambda-nbb.html

What are the language differences. What's missing in SCI's subset? Just Java stuff like deftype?
Multimethods are fully supported. Protocols, defrecord and deftype are supported with some caveats.
What kind of differences/limitations are there when interpreting Clojurescript (nbb) as opposed to compiling it (shadow-cljs, lein, self-hosted?, other things?)?