TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Clojure Scripting on Node.js

143 pointsby reil_convnetalmost 3 years ago

8 comments

weikjualmost 3 years ago
Although I have not used nbb, babashka itself has been super useful for avoiding the slower JVM startup time while still using Clojure to automate some tasks at the command line.<p>Yet, despite many projects using bb + a bb.edn tasks file as a replacement for Make, I find myself still reaching for Make, out of familiarity at least, perhaps to avoid the extra dependency on bb itself?
Borkdudealmost 3 years ago
Author here. Ask me anything on nbb.
评论 #32353652 未加载
评论 #32358582 未加载
charesjrdanalmost 3 years ago
I love babashka but always find nbb scripts hard because everything returns a promise which makes the normal REPL workflow tricky.. maybe I’m doing it wrong though
评论 #32356639 未加载
zimabluealmost 3 years ago
Just as an FYI for the interested, there is a self-hosted version of clojurescript now, it enables macros in the same runtime with some caveats but the main downside (AFAIK) is increased bundle size, which is less relevant for node.js.
评论 #32354060 未加载
reil_convnetalmost 3 years ago
I am not the developer of this library. I just have been using it for a small project and thought others might find it interesting as well.
solardevalmost 3 years ago
What is this? What is Clojure and why do you need it in node?
评论 #32352639 未加载
评论 #32353293 未加载
评论 #32352578 未加载
评论 #32354370 未加载
评论 #32352603 未加载
评论 #32352590 未加载
piperswealmost 3 years ago
Is this similar to Lumo (<a href="https:&#x2F;&#x2F;github.com&#x2F;anmonteiro&#x2F;lumo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anmonteiro&#x2F;lumo</a>)? I would assume Lumo has a faster start time since it boots from a V8 snapshot, but otherwise I&#x27;d assume the two projects are similar (except that, of course, lumo is EOL)
评论 #32365983 未加载
foreigneralmost 3 years ago
If anyone is interested in mixing other languages in node, check out this silly little library I threw together: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;polyglot-tag" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;polyglot-tag</a><p>Embed any scripting language in a Node.js template literal!
评论 #32353337 未加载