After Brad Green (@bradlygreen Engineering director at Google)
announced the following
Few people freaked out about Dart, eg. "is Dart dead?"
so He posted something about that
Official languages at Google
Following my keynote at ng-conf 2017 that seemed to indicate that Typescript is now an official language at Google, there were many questions about the status of Dart at Google.
Dart has been used for unrestricted client development at Google now for 4+ years. Dart and AngularDart are used by large products such as AdWords, AdSense and Shopping, and by critical internal tools such as Google CRM. In addition, the Flutter cross-platform mobile app framework uses Dart and is used by multiple teams at Google including Google CRM and Shopping Express. The Google codebase contains many millions of lines of Dart code.
Typescript has become allowed for unrestricted client development as of March 2017. TypeScript and Angular on TypeScript are used in Google Analytics, Firebase, and Google Cloud Platform and critical internal tools such as bug tracking, employee reviews, and product approval and launch tools.
We are happy to say that teams at Google have a choice between many client side languages and can choose the best one for their needs.
OK ... now time to comment from the POV of AS3/Flash/AIR
When you look at the Dart language, and by the same way at TypeScript, both do look a lot like ActionScript 3.0, in fact they are so close that you can borrow form their libraries and port it to AS3 without a lot of fuss, I know I did .
The little library clilib (for Redtamarin) is ported from dart-lang/args, you can compare both codes if you want, just to say it does not take long to port such Dart libraries.
Now the most interesting part about Dart is indeed Flutter (as mentioned in the blog post above) and what do you see on the front page?
Why use Flutter?
What are some advantages of Flutter? It helps you:
- Be highly productive
- Develop for iOS and Android from a single codebase
- Do more with less code, even on a single OS, with a modern, expressive language and a declarative approach
- Prototype and iterate easily
- Experiment by changing code and reloading as your app runs (with hot reload)
- Fix crashes and continue debugging from where the app left off
- Create beautiful, highly-customized user experiences
- Benefit from a rich set of Material Design widgets built using Flutter’s own framework
- Realize custom, beautiful, brand-driven designs, without the limitations of OEM widget sets
Except from the part "Prototype and iterate easily", Adobe AIR and AS3 have all those stuff and even a little more
- "Develop for iOS and Android from a single codebase"
yep we got that and we can add also Windows, macOS and Linux (yeah even with old AIR 2.6)
- "Do more with less code, even on a single OS, with a modern, expressive language and a declarative approach", that's ActionScript 3.0 for you
- "Create beautiful, highly-customized user experiences"
yep AIR got that too, OK we don't have the "rich set of Material Design widgets"
but we can totally clone them if we want or any other kind of custom designs
and "without the limitations of OEM widget sets"
See what I did here ?
I used someone else marketing/PR to promote another tech
And yeah you can do that with TypeScript too
for example on the front page they say
Strong tools for large apps
OK cool, let's make it work for our stuff
Strong tools for large apps
Types enable ActionScript developers to use highly-productive development tools and practices like static checking and code refactoring when developing ActionScript applications.
Types are optional, and type inference allows a few type annotations to make a big difference to the static verification of your code. Types let you define interfaces between software components and gain insights into the behavior of existing ActionScript libraries.
And let's add a bit more:
Share your libraries easily with SWC, get syntax completion automatically
and with fat SWC you can even get inline documentation embedded
Just a little reminder that if Adobe does not do the marketing/PR of ActionScript and Adobe AIR
nothing prevent you to use others "good stuff" applied to your own tools