Live data from Hacker News

Google introduces Dart, a new programming language for web applications

googlecode.blogspot.com

61–70 of 70 posts

Re: Google introduces Dart, a new programming language for web applications

#62
post #58

Earlier quoted context omitted.

Crashing Safari on OS X, too. Or rather, the tab hangs. It produces an "TypeError: 'undefined' is not an object (evaluating 'a[Ra]')" and "TypeError: 'undefined' is not an object (evaluating 'b.count')". The console was a bit hard to get to with webkit2 taking up 100% of a cpu and all that.

Safari 5.1 on Snow Leopard. No crashes. Works without any issues.

It appears they fixed it... sort of. The box with the highlighted code is no longer on the page, and now it works in Safari.

Re: Google introduces Dart, a new programming language for web applications

#63
post #58

Earlier quoted context omitted.

Safari 5.1 on Snow Leopard. No crashes. Works without any issues.

It appears they fixed it... sort of. The box with the highlighted code is no longer on the page, and now it works in Safari.

What box of highlighted code? The samples box with the run button?

Re: Google introduces Dart, a new programming language for web applications

#64
post #41
post #39

Earlier quoted context omitted.

> The point is ... that an IL is something that all the browser makers could get behind. Sure, but that's not going to happen in the next decade unless that IL is in Javascript.

If they built an IL that can also be implemented in Javascript they might have a chance. e.g: Javascript → IL → Javascript

Yes, that's what I said!

Re: Google introduces Dart, a new programming language for web applications

#65
post #64
post #41

Earlier quoted context omitted.

If they built an IL that can also be implemented in Javascript they might have a chance. e.g: Javascript → IL → Javascript

Yes, that's what I said!

Sorry, I must have missed the word 'in'.

Re: Google introduces Dart, a new programming language for web applications

#66
post #29
post #28

Earlier quoted context omitted.

> The web needs a standard Intermediate Language: a machine code. Definitely. > This is what Javascript is becoming and it isn't well designed for it. Maybe... but what does a bytecode layer provide? I wonder if something useful couldn't be written in JS that provides a thin service layer. I agree it's not ideal, but it's what we've got. Google already have a few to-javascript compilers, including one for Dart... I e…

The point is not that they are already all over this but rather that an IL is something that all the browser makers could get behind. If Javascript is good enough as an IL why does Dart bypass it in Chrome?

> If Javascript is good enough as an IL why does Dart > bypass it in Chrome?

Because they decided that it was easier to make up a new language than improve the V8 implementation of ECMAScript, as far as I can tell.

And at least locally, for Google, that may be true. Whether it's true for the web as a whole is unclear.

Other ECMAScript implementors seem to think that V8 is not nearly as fast as an ES implementation could be and are working on proving their claims with actual running code...

Re: Google introduces Dart, a new programming language for web applications

#67

Did I miss the part where it says this will be an open standard? This looks like embrace and extended but I hope I am wrong.

You're not wrong, sadly. See http://3.bp.blogspot.com/-GBSGBbc9UtA/TmexwLaJN9I/AAAAAAAAAK... for a discovery document from a recent court case that indicates what Google's approach to things like this is nowadays.

Re: Google introduces Dart, a new programming language for web applications

#68
post #63

Earlier quoted context omitted.

It appears they fixed it... sort of. The box with the highlighted code is no longer on the page, and now it works in Safari.

What box of highlighted code? The samples box with the run button?

I suppose, if you see it. I just looked in Firefox, Chrome, Chromium, Safari and Opera and while there was such a box originally, I do not currently see it on the page.

Re: Google introduces Dart, a new programming language for web applications

#69
post #26

While Google may need this for building large applications, this is something that the web could do without. The web needs a standard Intermediate Language: a machine code. This is what Javascript is becoming and it isn't well designed for it.

The web needs a standard API for displaying content. 95% of the client-side headaches out there are due to browser DOM rendering and event model quirks and incompatibilities.

Web != API

Re: Google introduces Dart, a new programming language for web applications

#70

Did I miss the part where it says this will be an open standard? This looks like embrace and extended but I hope I am wrong.

The language spec is open. "We've made the language and preliminary tools available as open source on dartlang.org"
Post reply on HN