|author||Clement Skau <firstname.lastname@example.org>||Thu Nov 05 09:51:13 2020 +0000|
|email@example.com <firstname.lastname@example.org>||Thu Nov 05 09:51:13 2020 +0000|
[SDK] Replaces async's _AsyncAwaitCompleter with _Future. Run time (less is better) impact: dart: - Calls.AwaitAsyncCall -43.95% ~ -55.50% - Calls.AwaitAsyncCallClosureTargetPolymorphic -40.33% ~ -53.58% - Calls.AwaitAsyncCallInstanceTargetPolymorphic -42.69% ~ -55.65% - Calls.AwaitFutureOrCallInstanceTargetPolymorphicManyAwaits -42.05% ~ -56.14% - Calls.Await... 0% ~ -13% dart-aot: - Calls.AwaitAsyncCall -9.748% ~ -11.13% - Calls.AwaitAsyncCallClosureTargetPolymorphic -8.673% ~ -13.19% - Calls.AwaitAsyncCallInstanceTargetPolymorphic -9.799% ~ -11.74% - Calls.AwaitFutureOrCallInstanceTargetPolymorphicManyAwaits -5.412% ~ -13.43% Code size impact: - flutter_gallery_app_so_brotli_size -0.1237% ~ -0.2410% - flutter_gallery_readonlydata_size 0.1693% ~ 0.2041% - flutter_gallery_instructions_size 0.1157% ~ 0.1779% - flutter_gallery_total_size 0.1021% ~ 0.1413% Bug: https://github.com/dart-lang/sdk/issues/39119 Change-Id: I64d28a8bea078277946d7be43737e265920c8f16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126322 Commit-Queue: Clement Skau <email@example.com> Reviewed-by: Martin Kustermann <firstname.lastname@example.org>
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.