Live data from Hacker News

Dart 1.5

news.dartlang.org

11–20 of 167 posts

Re: Dart 1.5

#11
post #9
post #3

I was at last year's Google IO and a lot of people were asking the Dart representatives about whether Dart was going to be supported in Chrome (not just Chromium). We were told the team was holding off because of performance considerations. It has been ONE WHOLE YEAR since then.

Why do you want it to be supported in Chrome? Any performance improvements seen by your users won't apply to those using any other browser.

> Any performance improvements seen by your users won't apply to those using any other browser.

But it will apply to those using Chrome (their performance benchmarks show consistent improvement, sometimes up to 2x) and it will be using a better language for all the other ones.

Re: Dart 1.5

#12
This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

Re: Dart 1.5

#13
post #9
post #3

I was at last year's Google IO and a lot of people were asking the Dart representatives about whether Dart was going to be supported in Chrome (not just Chromium). We were told the team was holding off because of performance considerations. It has been ONE WHOLE YEAR since then.

Why do you want it to be supported in Chrome? Any performance improvements seen by your users won't apply to those using any other browser.

Because then his userbase goes from being an extremely small niche(chromium is probably less than 1%) to a much larger niche(chrome is more than 30%).

Re: Dart 1.5

#14
post #2

Is anybody using Dart for significant production code outside of Google? (Not mocking, genuinely curious to hear whats being done with it)

I use Dart in production, it has its advatages like:

1.- It is better than JavaScript, is like using C# with a litle mix of Java.

2.- It comes with its own libraries, no more underscore.js or other patch libraries that JS needs, it is already in the toolkit.

3.- It comes with the Dart Editor, where you can debug your code easily, for scalable projects I find this to be invaluable.

4.- It will run in all your browsers, because it will export your code to JavaScript, but not only export it, it will optimize it and will run really fast.

5.- The pub library, go to pub.dartlang.org and you will find lots of packages that you can install and use, like a bootjack, a bootstrap port in Dart.

There are prolly many more, but these are the ones that come to my head right now.

But it also has its own problems like:

1.- No Dart support for Chrome yet and we don't know if there will ever be at this point.

2.- The generated JavaScript will be huge, and I mean huge, mine is like 460k per file and I'm not using polymer, when I used polymer the generated JavaScript was over one megabyte, just insane in the cloud.

3.- Get use to regressions, with every point update I've have issues, I upgraded from 1.4 to 1.5 two days ago, now my code is broken It runs, but it will for example run futures twice, So I went back to 1.4 for now, I had some other issues with UTF when migrating from 1.3 to 1.4 so, get use to.

4.- They are slow fixing bugs, looks like polymer and speed are their priorities, but when you need something trivial that other languajes have had for years and you report a bug it will get ignored, I've waited for 18 months and my open bugs are not fixed yet.

I would say that Dart is nice and you should give it a chance.

Re: Dart 1.5

#15
post #12

This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

As in Mozilla Rust? That is a systems language, nothing to do with JS (other than it is being used to build Servo, Mozilla's experimental new parallel browser engine)

Re: Dart 1.5

#16
post #3

I was at last year's Google IO and a lot of people were asking the Dart representatives about whether Dart was going to be supported in Chrome (not just Chromium). We were told the team was holding off because of performance considerations. It has been ONE WHOLE YEAR since then.

Chrome already comes with NaCl which nobody else but Google uses it. Do we want another VM inside Chrome that nobody else will adopt?

And now they're putting Android inside ChromeOS, too, just because they don't want to admit Android itself would work better on notebooks (given the right interface) than ChromeOS.

Re: Dart 1.5

#17
post #12

This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

While it's true that Dart is aimed at the sort of territory dominated by JavaScript (client-side code in the browser), Rust is instead aiming towards the sort of use cases one might choose C++ for today – for example, as the language used to create the browser itself.

Re: Dart 1.5

#18
post #12

This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

[deleted]

Re: Dart 1.5

#19
post #12

This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

[deleted]

Re: Dart 1.5

#20
post #12

This may be a noob question on my part, but my understanding is Dart and Rust are 2 separate efforts to come up with something to supplant javascript?

I think rust wants to be a system language, akin to C rather than javascript. Dart, yes, a different language running inside the browser.
Post reply on HN