Live data from Hacker News

ClojureScript

github.com

41–50 of 95 posts

Re: ClojureScript

#41

Given a radical departure from the JavaScript core (comparing to Coffeescript), I wonder how easy the debugging would be.

I suspect you'll get good line number info but you'll have to deal with limitations in terms of real-time debugging (beyond having access a repl)

Re: ClojureScript

#42
post #3
post #2

Now we have a "solid" Lispy alternative to imperative languages that compile to JS. Nice surprise Rich !

There are a LOT of in-browser scheme-like variants.

Yes, but the folks that created this one have a high reputation, and this version goes to a far extent to maintain strong performance.

Re: ClojureScript

#43

It's interesting how closely tied to Google Closure this is. I wonder if that will present issues in the future. Regardless, ClojureScript has definitely made really smart use of it.

I presume Closure is only being used as a post-processing step to optimize the javascript that's produced.

Re: ClojureScript

#44

Given a radical departure from the JavaScript core (comparing to Coffeescript), I wonder how easy the debugging would be.

This is an itch that will be scratched. Today's announcement was for an alpha release, not a polished, production-ready one.

Re: ClojureScript

#45
post #21

Earlier quoted context omitted.

A few are listed here: https://github.com/jashkenas/coffee-script/wiki/List-of-lang... (which also includes Clojurescript)

That ClojureScript is the (mostly experimental & now obsolete) work done by Chris Houser quite some time back. These two are not the same thing.

Thank both you and lukev for pointing it out.

Edit: Now they are both on the list. Gotta love Github's wiki.

Re: ClojureScript

#46
post #37

Earlier quoted context omitted.

I notice you keep replying about Parenscript, but the difference here is important. The reason this is a bigger deal than you make it out to be is because Clojure is hosted on the JVM. That means it's generally had a chance to enter the enterprise, and beyond that, has access to the entire JVM library and interop. What this means now is, for the first time, you can write Clojure code on the server, interop with legac…

To play devil's advocate, wouldn't the exact same thing be possible with the above alternatives and Armed Bear Common Lisp? You can write full-stack in Common Lisp, it's just that different parts need to go through different compilers/interpreters/transformers/what-have-you. Just as it is with Clojure. No, I think the thing to note here is that Clojure--for reasons I can only guess at--has a lot more sex appeal than…

I think if Parenscript were just announced today it would get a big reaction as well. Just like there's a big reaction any time a language comes out and says it can compile down to Javascript. There was a big reaction when a guy did it for C# / XNA, for example.

Just because people are excited about developments in the Clojure ecosystem doesn't mean they aren't excited you can do this elsewhere. It's interesting right now because it's new, and it opens up some new ways of development for people who enjoy writing software in Clojure.

Re: ClojureScript

#47

It's interesting how closely tied to Google Closure this is. I wonder if that will present issues in the future. Regardless, ClojureScript has definitely made really smart use of it.

I presume Closure is only being used as a post-processing step to optimize the javascript that's produced.

False. We're not just talking about Closure. We're talking about Google Closure. They support millions of users with their apps and maintain cross-browser compatibility. Google is doing that huge block of work for ClojureScript in addition to whole-program optimization.

Re: ClojureScript

#48
post #37

Earlier quoted context omitted.

I notice you keep replying about Parenscript, but the difference here is important. The reason this is a bigger deal than you make it out to be is because Clojure is hosted on the JVM. That means it's generally had a chance to enter the enterprise, and beyond that, has access to the entire JVM library and interop. What this means now is, for the first time, you can write Clojure code on the server, interop with legac…

To play devil's advocate, wouldn't the exact same thing be possible with the above alternatives and Armed Bear Common Lisp? You can write full-stack in Common Lisp, it's just that different parts need to go through different compilers/interpreters/transformers/what-have-you. Just as it is with Clojure. No, I think the thing to note here is that Clojure--for reasons I can only guess at--has a lot more sex appeal than…

    possible with the above alternatives and 
    Armed Bear Common Lisp?
Yes it is. I wish being possible was all that it took for it to be done. In the absence of ClojureScript I would love to write my web client code in Common Lisp. I love Common Lisp.

Re: ClojureScript

#49

Node.js + clojurescript just came up in the Demo. Part of me says awesome, another part says "How many hipster programmer brains blew up" Overall I'm excited about this and anxious to see how far it can be taken, because if you can write an ENTIRE webapp in clojure is thought provoking.

I'm glad for the Clojure community if this didn't exist before, but I'm pretty sure Lispers (ie Common Lispers) have written "entire" web apps in Lisp for quite a while[1]. For example, Kenny Tilton wrote a Lisp wrapper to qooxdoo on top of his data-flow library (Cells). The only time we need to write JS code now is for additional glue for widgets or functionality we haven't wrapped yet. And since it wraps qooxdoo, t…

Clojure has had things like Parenscript for a while, including scriptjure (~1.75 years old) and clojurejs.
Post reply on HN