Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Google is spending so much money on Flutter , it’s insulting.

Honestly, the entire industry is shifting towards JavaScript/Typescript and the only language that they could think of for Flutter is Dart ?

This is even more Hypocrite knowing that Flutter doesn’t actually run the Dart VM, it uses AOT and compile to native code.

Meaning we could use literally any ECMAScript language to run with Flutter instead of Dart.

There is nothing that Dart does that justify the choice of this language.



I'm not a fan of Dart either, but common JavaScript/TypeScript isn't exactly the holy grail either. JS is basically unusable due to, well lack of types, and TypeScript hacks them into it by hugely increasing complexity of everything.

Should have gone with Kotlin. Would just sweep over huge amounts of existing Andoid devs too.


Reason is an interesting approach to the "JS problem", a better one than TS and Dart.


Or Swift


That would turn a lot heads!


Dart was designed by one of the guys who created the V8 JS engine.

I'm pretty sure if anyone was justified to create a new language here it would be those guys.


> Flutter doesn’t actually run the Dart VM, it uses AOT and compile to native code.

That's the whole point - you can't compile JS to fast native code. It also does use the DartVM for hot-reloading development cycles.


There are plenty of languages that compile to fast native code, some of yore (Common Lisp/Eiffel) even offer that amazing live code experience that they sell as unique Dart feature.


And if they chose those languages there'd be people here complaining about that choice.


Dart is a really efficient language to compile down to native. Javascript/TS will never be that.

And in what sense it is hypocrisy to compile?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: