Live data from Hacker News

Announcing Dart 2 Stable and the Dart Web Platform

medium.com

51–60 of 259 posts

Re: Announcing Dart 2 Stable and the Dart Web Platform

#51
post #2

I wouldn't be interested in Dart at all if it wasn't for Flutter. I can't help but wonder if there will be Flutter bindings implemented for other languages sometime.

With Dart2 going through LLVM to make ARM binary code for iOS and Android (and Fuchsia), I imagine it would be trivial to emit WebAssembly as well. Writing Dart to make WebAssembly code is far more direct than writing C# and running MSIL on top of a micro .NET runtime (which is what the Blazor project is doing).

Dart does not use LLVM anywhere in its toolchain.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#53
post #36

Reading the few comments here is really interesting. Every-time there is a discussion about Dart , people talk about Flutter... they very rarely talk about Dart on the Server or on the Web... A while ago I considered using Dart to build a Web API. I was shocked by the non-existent ecosystem around this language. The Redis package has been un-maintained for almost three years now, and Angular Dart is always a few vers…

With Google’s history of abandoning efforts like this, I wouldn’t spend too much effort using any language developed by them.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#54
post #22
post #2

I wouldn't be interested in Dart at all if it wasn't for Flutter. I can't help but wonder if there will be Flutter bindings implemented for other languages sometime.

That is the only way to keep Flutter relevant. Right now, in what concerns iOS and Android, Qt and Xamarin also compile to native, use mature languages (JS, C++, C#, VB.NET, F#), can also target desktop and have an endless list of libraries to choose from. Also Chrome team is quite interested in making PWAs succeed on mobile Web, and they have Microsoft on board with them, given how JavaScript has first class support…

[deleted]

Re: Announcing Dart 2 Stable and the Dart Web Platform

#55
As someone trying to make his first mobile app, I just ran through the Flutter getting started guide and it was a much better experience than getting a React-Native hello world going.

Just a couple pros I see:

* flutter doctor - what a helpful tool! * hot reload without losing state!?

If Dart can use my existing TypeScript code, I'll definitely use it.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#57
They should de-emphasize Dart and refocus Flutter development around Kotlin and make that a first class citizen and untangle flutter from Dart. Kotlin already is the language of choice for Android development has a very similar style to Dart (as in Dart provides few if any advantages that I'm aware off). Google already supports Kotlin in Android studio and adoption over the last few years has been enormous. Providing continuity for Android developers is hugely important.

There's a Kotlin native compiler in the works that will support IOS, Android (native), servers, and WASM as outputs. This makes it a proper full stack language. Compiling to WASM to target frontend code is the sensible thing to do. As far as I can tell, Dart 2 compiles directly to javascript instead of using WASM. This does not make sense to me as a thing to push in 2018. Kotlin has one as well but they have shifted development towards their native compiler and supporting javascript vial wasm.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#58

They should de-emphasize Dart and refocus Flutter development around Kotlin and make that a first class citizen and untangle flutter from Dart. Kotlin already is the language of choice for Android development has a very similar style to Dart (as in Dart provides few if any advantages that I'm aware off). Google already supports Kotlin in Android studio and adoption over the last few years has been enormous. Providing…

With Dart they can completely ditch the JVM and Oracle

Re: Announcing Dart 2 Stable and the Dart Web Platform

#59
post #49

Earlier quoted context omitted.

Language with "dynamic" type can't be called "statically typed".

Most languages I can think of have this type, from void* to dyn to bounding by the root of the type hierarchy. Not all languages. However, what is c, c++, java, rust, go, if not statically typed? Ambiguously typed? Seems like not a useful distinction to make. I argue static typing is the ability to static type up to 100% of a program, not the exclusion of a dynamic type.

Rust doesn't have such type. And type annotations in Dart are optional - when programmers are not obliged to use them, guess what will happen? They do NOT use them. People are lazy.

Dart's types exist only on compilation step. You can try to use "strong mode" in theory, in practice you will never compile it with third-party libraries.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#60
post #36

Reading the few comments here is really interesting. Every-time there is a discussion about Dart , people talk about Flutter... they very rarely talk about Dart on the Server or on the Web... A while ago I considered using Dart to build a Web API. I was shocked by the non-existent ecosystem around this language. The Redis package has been un-maintained for almost three years now, and Angular Dart is always a few vers…

With Google’s history of abandoning efforts like this, I wouldn’t spend too much effort using any language developed by them.

> With Google’s history of abandoning efforts like this, I wouldn’t spend too much effort using any language developed by them.

Well , to be fair Go is becoming a major server side language and I don't see Google abandoning it any time soon.

That being said , Dart is basically on "life support" has of now , there is no SDK what so ever beside Google + Firebase , and I haven't heard anything from AWS / Azure or others vendors to support Dart + Flutter.

I feel like everyone is basically waiting for the language to take off to actually invest in it.

I'm afraid it will end up like Xamarin , a niche tech that will eventually die out because very little people accept the ecosystem that is forced on them by using the framework.

Post reply on HN