News for hackers. Stuff that matters.
Re:Ask HN: Any alternative to JavaScript in sight? by cpr on Saturday June 18, 2011 @02:08PM (#2669141)
Dense arrays are coming in Harmony, thanks to WebGL. (JS.next)

CoffeeScript incurs no penalty when compiling to Javascript; in fact, in many cases it's faster than handwritten code.

Re:Ask HN: Any alternative to JavaScript in sight? by chc on Saturday June 18, 2011 @04:17PM (#2669430)
CoffeeScript is only kinda "another language." It's very intentionally designed to map closely to JavaScript. Try it with an actual independent language like Python, Ruby or Haskell and you'll have more trouble.
Re:Ask HN: Any alternative to JavaScript in sight? by jules on Sunday June 19, 2011 @05:32PM (#2671966)
Yea, Coffeescript incurs no penalty because it's so close to Javascript, but therefore it doesn't fix Javascript's flaws either. Coffeescript still doesn't have proper lexical scoping and it doesn't have a good standard library.
Re:Ask HN: Any alternative to JavaScript in sight? by cpr on Monday June 20, 2011 @10:39PM (#2677175)
It sure fixes a lot of the expressiveness problem.