Hacker News new | ask | show | jobs
by LeonidasXIV 5526 days ago
Hmm, I actually hoped for Clojure on Node.js (don't get me wrong, Scheme is beautiful and this seems to be quite a capable implementation but Clojure is way more practical) but hmm, I hope this gets popular.
2 comments

Clojure is a big language, and pretty deeply tied to the JVM; I'm not sure how you'd put it on V8. Scheme is pretty practical, though, once you get used to it.
The first version of Clojure was a Common Lisp compiler that compiled Clojure down to JS to be run on Rhino. There's interest in the Clojure community to have a Clojure "Light" that runs on V8 or SpiderMonkey.
I'd like to see it run in a browser also, that would be awesome.
Also, there's a .net version of clojure.. no?
I haven't time to play around with Clojure yet, but what makes you think it is more practical than scheme? The primary advantages seem to be JVM interop (which I don't think would be applicable on in a Node.js setting), and easy multi-threading (also not applicable?)
Heavy functional bias. STM.

Although, I don't know that those things make it more practical than Scheme. Just more desirable to a subset of people who like that sort of thing.

Hmm, that might be true. I don't like the java interop much, as it confines me to the JVM infrastructure that I really dislike.

Yeah, it might be mostly the functional bias. I was just reimplemting persistent immutable hast tables when I said, well dammit, why not try Clojure. And well, despite that I don't particularly like many things like lacking TCO, no continuations, and mostly probably the Scheme macro system, there is a lot of things that they did better.

I really like the data-structure access syntax (no more list-ref), I like that I have generic operations that work on any datastructure supporting the seq abstraction, I can see the point of reducing the number of parents in forms, I truly love that partial/curry is really part of the language, not in some implementation specific extension, I just love the -> 'operator'. Clojure is for me like Python, with much the functional programming support that Python did only get recently, with a community focus on this paradigm. Oh and with a great active helpful community in #clojure unlike the divided community of #scheme.

Before someone wonders: yeah, most can be implemented on top of Scheme, the point is that Clojure did it, and they are popular. Give me a Scheme with all the great things from Clojure and I'll never look back.