Re:Clojure Scripting on Node.js
by Borkdude on Friday August 05, 2022 @04:33AM
(#32353300)
Author here. Ask me anything on nbb.
[ Parent
| on HN ]
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:
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.