Hacker News new | past | comments | ask | show | jobs | submit login

Hi,

The slides shown there are, well, slides. They are meant to support a talk, and that talk addressed your comments, at least partly. It is also worth noting that it was Scala Days, and as such I took it for (almost) granted that the audience is converted to Scala.

The problem is that JavaScript, with its scripting nature, has never been designed to support programming in the large. The lack of type safety is often mentioned as one of the major difficulties of JavaScript. That is why there are other languages targeting JavaScript.

We scale to Rich Internet Applications by using the language Scala, which is a scalable language. I won't try and make a whole point here. Some people have moved from Java to Scala for that very reason.

And, yes, the 16 MB are for the standard library. But minifying was only the first step towards reducing that size. I have at least 4 ideas, which I believe will each divide that size by ~2. That should bring it down under 1 MB.




Thanks for your reply. I would be interested to read the whole argument. I don't know what "scripting nature" is. JavaScript has first-class functions and is nearly syntactically identical to Scala. It doesn't have a type system, but I'm not convinced that's a problem for scalability. Java has a type system, and you say people are moving away from it because it's not scalable, so...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: