Hacker News new | ask | show | jobs
by octo_t 4747 days ago
16MB runtime is really painful. Having to pack a huge amount of the standard library (List is backed by a lot of other traits for example) into the js is going to be very difficult to reduce.
2 comments

Yeah, and I'm not sure scala will be that useful without the standard libs, much like C# or Java.

Seeing the presentation, I'm thinking more of using it with something like node-webkit[1] though. Didn't LightTable use clojure-script or something? But then, why don't just use one of JVM's GUI framework?

[1]: https://github.com/rogerwang/node-webkit

I'm doing something for fun with Clojurescript and node-webkit and for me it's mostly that I want the fast start up time, but also to get to just work with html instead of having to learn a gui framework.

Also I just want to mention that Clojurescript compiles to javascript that's compatible with Google's Closure compiler, which can do dead code elimination and will remove the parts of the standard library that you don't use.

For applications, that should be somewhat more acceptable than for standard web pages (and to a lesser extent apps) and it won't need to be updated particularly frequently either.