News for hackers. Stuff that matters.
Re:Dart language by starwed on Monday October 10, 2011 @01:49PM (#3094904)
More than syntactic sugar is being added, for instance:

https://developer.mozilla.org/en/JavaScript_typed_arrays

Re:Dart language by cromwellian on Monday October 10, 2011 @02:20PM (#3095072)
I'm super familiar with type arrays (I helped port GwtQuake which was one of the first apps to ever use them in large measure), but type arrays are an add-on API that doesn't change language semantics. Something that would change language semantics would be to offer early-bound namespaces. Early-binding would increase performance while simplifying VM implementation and make tooling easier.
Re:Dart language by ootachi on Monday October 10, 2011 @03:24PM (#3095359)
Modules, which are statically bound, are part of ES Harmony [1]. Please stop spreading falsehoods.

[1]: http://wiki.ecmascript.org/doku.php?id=harmony:modules

Re:Dart language by cromwellian on Monday October 10, 2011 @04:02PM (#3095528)
Sorry, I'm out of date, when ES4 was terminated, John Resig said this: "Some ECMAScript 4 proposals have been deemed unsound for the Web, and are off the table for good: packages, namespaces and early binding. This conclusion is key to Harmony."

Is static scoping the same as early binding? For example, it is guaranteed that any class layouts within the module are statically frozen and cannot be altered at runtime? If you can add or remove methods from a class within a module, it's not really early binding, and this inhibits it's usefulness in a refactor or an IDE trying to do accurate usage search or code assist.

Re:Dart language by ootachi on Monday October 10, 2011 @10:00PM (#3096742)
Exports from Harmony modules are frozen and cannot be changed at runtime. Classes are too if you use Object.freeze().