Live data from Hacker News

Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

news.dartlang.org

101–110 of 134 posts

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#102
post #93

Dev lead here for a tiny startup. I selected Dart for front and back end, sharing code between them. It has been a great experience and I don't have many complaints. One of the designer's goals was familiarity. I believe they definitely nailed that goal. We've had experienced devs contributing to the codebase in 3 days without ever seeing a line of Dart code before. And they absolutely love working with Dart. Here's…

How many of these aren't available in ES2015 or TypeScript?

I have been exposed to TS a bit, so this list may not be exhaustive, but to name a few that I use on a regular basis:

- Consistent async API (incl. Future, Streams, async* for Streams, async/await support everywhere). async.js is nowhere near to this.

- Type inference and analyzer toolchain that works and don't need to fall back on grep. The moment you start using anything like lodash or similar you will lose your ability to explore the code reliably.

- Isolates and Zones as higher-level constructs for dealing with complex concurrency and parallelism constructs. Nothing comparable in the JS world.

- Cascade operator.

- 1 != "1" (have been burnt by JS several times, and TypeScript won't provide a break from it)

I hope to use soon:

- SIMD

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#103
post #102
post #93

Earlier quoted context omitted.

How many of these aren't available in ES2015 or TypeScript?

I have been exposed to TS a bit, so this list may not be exhaustive, but to name a few that I use on a regular basis: - Consistent async API (incl. Future, Streams, async* for Streams, async/await support everywhere). async.js is nowhere near to this. - Type inference and analyzer toolchain that works and don't need to fall back on grep. The moment you start using anything like lodash or similar you will lose your ab…

> - Consistent async API (incl. Future, Streams, async* for Streams, async/await support everywhere). async.js is nowhere near to this.

There now are Promises and Promise-based async/await keywords. Sure, there are some legacy APIs, but this is no longer as true as it used to be.

> - Type inference and analyzer toolchain that works and don't need to fall back on grep. The moment you start using anything like lodash or similar you will lose your ability to explore the code reliably.

TypeScript has introduced mapped and lookup types in its latest version, that solves this problem.

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#104

And yet, I very very rarely hear anyone talking about it? I assume it's pushed heavily internally at Google, but anecdotally it seems nigh-unused outside of Google. Am I totally off?

Maybe not. OTOH, if it continues to grow at Google, that can power development for quite a while and provide plenty of opportunity to hit the key use case that drives outside adoption (e.g., the equivalent of Rails for Ruby.) With web front-end (compile-to-JS), server (DartVM), and early-stage mobile (Flutter) stacks, there's a lot of places that key win could come.

All it needs to gain traction is a popular open source project just like docker and kubernetes did with go

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#105
post #91
post #84

Earlier quoted context omitted.

For me the project died when Google decided it wasn't worth it to support it any longer in Chrome and Angular team decided to use TypeScript instead. Regarding Flutter, I watched the conference where it was presented and none of the devices I own was able to launch the application. https://play.google.com/store/apps/details?id=io.flutter.gal... Unless Google does actually use the language to the point a few well know…

> Regarding Flutter [...] none of the devices I own was able to launch the application. Is it still the case that none of your devices are able to launch Flutter Galler App? In an unfortunate coincidence the build that was published to Play Store right before the Dart Summit was flawed and declared that it is incompatible with most of the devices except for latest generation ones. This was rapidly fixed - but fixed b…

I didn't bother to test it again.

Just tried it now on a Samsung S3 (Android 4.3).

It does launch now, just the rendering is a bit wrong.

The Android Application bar overlaps with the one generated by Flutter, thus only showing the lower half.

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#106
post #102

Earlier quoted context omitted.

I have been exposed to TS a bit, so this list may not be exhaustive, but to name a few that I use on a regular basis: - Consistent async API (incl. Future, Streams, async* for Streams, async/await support everywhere). async.js is nowhere near to this. - Type inference and analyzer toolchain that works and don't need to fall back on grep. The moment you start using anything like lodash or similar you will lose your ab…

> - Consistent async API (incl. Future, Streams, async* for Streams, async/await support everywhere). async.js is nowhere near to this. There now are Promises and Promise-based async/await keywords. Sure, there are some legacy APIs, but this is no longer as true as it used to be. > - Type inference and analyzer toolchain that works and don't need to fall back on grep. The moment you start using anything like lodash o…

We have a disagreement on the definition of "solves the problem". Having tried to refactor a codebase with heavy lodash use, that battle seems to be lost.

Also, take a look at the async* construct here: https://www.dartlang.org/articles/language/beyond-async

Nothing similar is in TypeScript, and this is roughly a two-years old feature in Dart, not a fancy-new hype. I have used it couple of times, it is useful, and again: consistent across the board.

Of course if you are happy with the limited promise support in TypeScript, go ahead with it. However saying that they are on-par is far from the truth.

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#107
So AdWords is implemented on Dart. Well, that certainly moved my understanding of the positioning of the language from the large zoo of obscure experimentations to the rare class of industrial and production ready in a single bang.

In the classification of computer languages, this is like a new nova burst in the night sky.

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#108
post #42

OK, so I started dabbling with Dart and wanted I've been wanting to do this for 3 years. Please bear in mind, I want to use Dart because coding in JS directly is not something I thoroughly enjoyed the last time I built a 'real' Web App. This is not a critique of Dart, it's just my recent experience ... if any of the points I make here make no sense, please correct me (I really don't want to use JS anymore!) So I star…

I use VSCode Dart plugin, although you can also install the Dart plugin for IntelliJ community edition.

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#109
post #105
post #91

Earlier quoted context omitted.

> Regarding Flutter [...] none of the devices I own was able to launch the application. Is it still the case that none of your devices are able to launch Flutter Galler App? In an unfortunate coincidence the build that was published to Play Store right before the Dart Summit was flawed and declared that it is incompatible with most of the devices except for latest generation ones. This was rapidly fixed - but fixed b…

I didn't bother to test it again. Just tried it now on a Samsung S3 (Android 4.3). It does launch now, just the rendering is a bit wrong. The Android Application bar overlaps with the one generated by Flutter, thus only showing the lower half.

That seems to be this bug

https://github.com/flutter/flutter/issues/6586

Re: Dart in 2016: Fastest growing language at Google, 2nd fastest in TIOBE

#110
post #42

OK, so I started dabbling with Dart and wanted I've been wanting to do this for 3 years. Please bear in mind, I want to use Dart because coding in JS directly is not something I thoroughly enjoyed the last time I built a 'real' Web App. This is not a critique of Dart, it's just my recent experience ... if any of the points I make here make no sense, please correct me (I really don't want to use JS anymore!) So I star…

if you do the build with "pub build --mode=debug" you can use sourcemaps to debug either in chrome devtools or firefox
Post reply on HN