Skip to content

Comment on Clojure Scripting on Node.jsparent

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.