Anders Hejlsberg and Lars Bak: TypeScript, JavaScript, and Dart
59 points| michaelwww | 13 years ago |channel9.msdn.com | reply
Anders Hejlsberg: Everything you say and more I will agree with. The question is not whether JavaScript is broken. The question is whether it is broken enough to merit being replaced by something else.
[+] [-] michaelwww|13 years ago|reply
Anders Hejlsberg: Everything you say and more I will agree with. The question is not whether JavaScript is broken. The question is whether it is broken enough to merit being replaced by something else.
[+] [-] yonran|13 years ago|reply
[+] [-] seanalltogether|13 years ago|reply
[+] [-] phase_9|13 years ago|reply
[1] http://en.wikipedia.org/wiki/ActionScript#ActionScript_3.0
[2] http://blogs.msdn.com/b/ie/archive/2007/10/30/ecmascript-3-a...
[+] [-] chr1|13 years ago|reply
[+] [-] dugmartin|13 years ago|reply
[+] [-] camus|13 years ago|reply
The problem with typescript is that there is no real built-in module support you either need AMD or CommonJS that's why i wont use it.
The language is great but i dont want to have to use requireJS to create reusable components.
Funny how Microsoft rejected ES4 and now is "praising" and "advocating" for better web scripting language. That's hypocrisy.
[+] [-] pnt|13 years ago|reply
[+] [-] dragonwriter|13 years ago|reply
Dart's VM isn't Chrome-only, its open source, and available both standalone and bundled into Chromium.
> However, I think the initial community reaction would have been more positive if Dart was positioned first as a language that compiled to js, with the added benefit that it runs significantly faster on Chrome.
Reaction might have been more positive in the short run if it was sold as a on-top-of-JS language rather than part of a long-term plan to build something to replace (or complement) JS as a language for which browsers would have a a built-in, language-specific VM. However, I think that even if initial reaction might have been better with such a response, Google clearly did the right thing by being up front about their vision.
[+] [-] mtgx|13 years ago|reply
[+] [-] michaelwww|13 years ago|reply
[+] [-] edtechdev|13 years ago|reply
It's not a huge deal - there are over a hundred alternative languages that compile to javascript out there now, many of which do support compiling in the browser: https://github.com/jashkenas/coffee-script/wiki/List-of-lang...
[+] [-] munificent|13 years ago|reply
dart2js is written in Dart. There's some small amount of work needed to self-host it and run the result in a browser, mainly swapping out the file IO API with something that works on the web. I think multiple people on the team have slapped together working examples of this, so it's not a lot of work.
It isn't a high priority for the dart2js team right now, though, and they are very careful to avoid taking on responsibility for features or use cases that don't have solid tests. I think before too long, we will have a reliably self-hosted Dart->JS compiler that runs in a browser, we're just focused on other stuff for the moment.
[+] [-] michaelwww|13 years ago|reply
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] sultezdukes|13 years ago|reply
I have nothing against Dart. I played with it a year and a half ago when the Eclipse beta came out. It's nice tooling, but brings absolutely nothing interesting to the table.
[+] [-] weareconvo|13 years ago|reply
I'm sure that, given enough time, they'll solve these problems, but as for right now... it isn't ready for primetime. Not by a longshot.
[+] [-] michaelwww|13 years ago|reply
[+] [-] camus|13 years ago|reply
[+] [-] mhd|13 years ago|reply
Not that the game has been called, Typescript and Dart themselves have been out for a while and don't really took large slices of the pie. The biggest "transpiled" Javascript language is still Coffeescript, and that's basically Ratfor for the web.
There's also Opa and Fantom, if we're going even more esoteric...
( http://fantom.org/ and http://opalang.org/ )
[+] [-] jdonaldson|13 years ago|reply
Not sure why it doesn't get more love here, it's awesome for developing complex js libraries, in addition to what you can do server side, and/or on a mobile platform.
[+] [-] somokon|13 years ago|reply
The language and compiler are solid, what it needs is better documentation, getting started guides, and tooling for things other than games with NME.
[+] [-] coolsunglasses|13 years ago|reply
[+] [-] andyl|13 years ago|reply
No committees. No marketing team. No developer evangelists. No PR team. No corporate interests. No budget.
Just code.
[+] [-] rayiner|13 years ago|reply
[+] [-] rwaldron|13 years ago|reply
[+] [-] ttrreeww|13 years ago|reply
[+] [-] michaelwww|13 years ago|reply