News for hackers. Stuff that matters.
Re:Clojure Scripting on Node.js by arunix on Friday August 05, 2022 @05:28AM (#32353652)
What's the difference between this and Clojurescript?
Re:Clojure Scripting on Node.js by Borkdude on Friday August 05, 2022 @05:31AM (#32353671)
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

Re:Clojure Scripting on Node.js by cutler on Friday August 05, 2022 @05:50AM (#32353831)
What are the language differences. What's missing in SCI's subset? Just Java stuff like deftype?
Re:Clojure Scripting on Node.js by Borkdude on Friday August 05, 2022 @06:03AM (#32353935)
Multimethods are fully supported. Protocols, defrecord and deftype are supported with some caveats.