Dart 2: Google's Language Rebooted For Web and Mobile Developers (infoworld.com)
An anonymous reader quotes InfoWorld:
Google's Dart language, once positioned a potential replacement for JavaScript in the browser, is being rebooted for client-side web and mobile development in Version 2 of the language. A beta version is now available. Dart 2 features a strengthened type system, a cleaned-up syntax, and a rebuilt developer tool chain.
Dart has a succinct syntax and can run on a VM with a just-in-time compiler, with the compiler enabling stateful, hot reload during mobile development. Developers also gain from fast development cycles where code can be edited, compiled, and replaced in apps running on a device. Compiling code ahead of time provides fast startup, Google said. Dart can be compiled to native code for ARM and x86 platforms. Google has used the language to build applications for iOS, Android, and the web.
Dart has a succinct syntax and can run on a VM with a just-in-time compiler, with the compiler enabling stateful, hot reload during mobile development. Developers also gain from fast development cycles where code can be edited, compiled, and replaced in apps running on a device. Compiling code ahead of time provides fast startup, Google said. Dart can be compiled to native code for ARM and x86 platforms. Google has used the language to build applications for iOS, Android, and the web.
It still sucks.
Anons need not reply. Questions end with a question mark.
Back in the old days, things like ActiveX and Java forced web users to need a specific browser to see some sites. JavaScript is now implemented fully across all known browsers, so how does Dart become better enough to be worth implementing outside of Chrome?
Google seems to have invented everything it can invent, which is why the GOOG/GOOGL stocks were switched over the Alphabet Inc. which holds Google, YouTube, and X projects under one stock roof. The founders sound more fun working for the other companies they started, so Google seems to be missing that brainpower.
Sexual harassment at Google is about 2-3 stories down from here...
How did it get here ?
Sorry guys, I'm afraid it's too late to try it out. Google has marked it as end of life. Good news though: I know from inside sources that they're about to unwrap its replacement very soon. Expect an announcement from Google in the next few weeks.
I'm waiting for the LawnDart scripting language that sits atop Dart.
I should add: The killer framework for Dart is Flutter.
Flutter is the most modern cross-platform mobile framework yet.
- The API is very high level (component oriented). Very easy to pick up.
- The tooling is the best there is. Hot reload is fantastic. Only WYSIWYG editors are missing, but UI design is just editing component trees.
- Not a Javascript hybrid framework.
- Native compilation.
- Talks to the platform API, although a bit clunky on that front.
- Google's framework (This may be a con for some).
- Free.
Cons:
- Still not 1.0 yet.
- Uses its own rendered widgets that look very native, but could fall behind if Google does not keep up.
- 8 MB runtime with slightly slower startup compared to native - probably no different from other third party frameworks like Xamarin.
Actually, that's not quite true. Fuchsia uses Flutter and Dart for the UI layer. https://www.cultofmac.com/4423...
Would be nice to sell the language a bit with a comparison with typescript and es7, unless itâ(TM)s just a click bait hey look the big G has something that is interesting because itâ(TM)s by google
As far as JS-transpiled PLs go, Dart is actually one of the more interesting onces. However, as it looks, Google might have missed an opportunity with Dart. Too much of a niche product with no serious support. Curiously enough, it's Microsoft leading the game in this area with TypeScript and a nigh perfect FOSS toolchain accompaning it with the very neat Visual Studio Code IDE being written in TS and offering all-out support for development in TS. ... Yeah, and hell froze over a little more lately.
If Google proves they're serious with Dart 2, they might have a chance, but right now I'm betting on TypeScript for my transpilation/large-js-project needs.
We suffer more in our imagination than in reality. - Seneca
Thanks a lot for this thread! The resources like https://studioblackbelt.com/ can make you can learn all the skills you need to start making money on the web by creating websites. This is an essential site every web designer should bookmark
Even if you don't entirely agree, you have to admit, the guy has some valid points.
React has better adoption. While it's worth noting Angular is supported indirectly by Microsoft since they publicly support Angular ... the Microsoft guys I know are all doing React at work. So it doesn't really have as much support as React.