2015-05-18 23:30:56 +00:00
|
|
|
# Dart
|
|
|
|
|
2019-05-21 19:21:51 +00:00
|
|
|
## A client-optimized language for fast apps on any platform
|
|
|
|
|
|
|
|
Dart is:
|
|
|
|
|
|
|
|
* **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
|
|
|
|
|
|
|
|
* **Fast on all platforms**:
|
|
|
|
Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web
|
|
|
|
|
2020-02-06 10:27:52 +00:00
|
|
|
Dart's flexible compiler technology lets you run Dart code in different ways,
|
2019-05-21 19:21:51 +00:00
|
|
|
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).
|
|
|
|
|
2020-02-21 12:45:19 +00:00
|
|
|
![Dart platforms illustration](docs/assets/Dart-platforms.svg)
|
2019-05-21 19:21:51 +00:00
|
|
|
|
|
|
|
## License & patents
|
|
|
|
|
|
|
|
Dart is free and open source.
|
|
|
|
|
2019-08-16 12:24:02 +00:00
|
|
|
See [LICENSE][license] and [PATENT_GRANT][patent_grant].
|
2015-05-18 23:30:56 +00:00
|
|
|
|
|
|
|
## Using Dart
|
|
|
|
|
2020-08-10 20:56:14 +00:00
|
|
|
Visit [dart.dev][website] to learn more about the
|
2015-05-18 23:30:56 +00:00
|
|
|
[language][lang], [tools][tools],
|
|
|
|
[getting started][codelab], and more.
|
|
|
|
|
2019-05-21 19:21:51 +00:00
|
|
|
Browse [pub.dev][pubsite] for more packages and libraries contributed
|
2015-05-18 23:30:56 +00:00
|
|
|
by the community and the Dart team.
|
|
|
|
|
2015-08-05 15:05:07 +00:00
|
|
|
## Building Dart
|
|
|
|
|
2017-01-03 09:36:33 +00:00
|
|
|
If you want to build Dart yourself, here is a guide to
|
|
|
|
[getting the source, preparing your machine to build the SDK, and
|
|
|
|
building](https://github.com/dart-lang/sdk/wiki/Building).
|
2015-08-05 15:05:07 +00:00
|
|
|
|
|
|
|
There are more documents on our [wiki](https://github.com/dart-lang/sdk/wiki).
|
|
|
|
|
2015-05-18 23:30:56 +00:00
|
|
|
## Contributing to Dart
|
|
|
|
|
|
|
|
The easiest way to contribute to Dart is to [file issues][dartbug].
|
|
|
|
|
|
|
|
You can also contribute patches, as described in [Contributing][contrib].
|
|
|
|
|
2019-05-21 19:21:51 +00:00
|
|
|
[website]: https://dart.dev
|
2015-05-18 23:30:56 +00:00
|
|
|
[license]: https://github.com/dart-lang/sdk/blob/master/LICENSE
|
|
|
|
[repo]: https://github.com/dart-lang/sdk
|
2020-05-29 09:23:45 +00:00
|
|
|
[lang]: https://dart.dev/guides/language/language-tour
|
|
|
|
[tools]: https://dart.dev/tools
|
2019-07-01 16:21:41 +00:00
|
|
|
[codelab]: https://dart.dev/codelabs
|
2015-05-18 23:30:56 +00:00
|
|
|
[dartbug]: http://dartbug.com
|
2020-03-18 09:25:07 +00:00
|
|
|
[contrib]: https://github.com/dart-lang/sdk/blob/master/CONTRIBUTING.md
|
2019-05-21 19:21:51 +00:00
|
|
|
[pubsite]: https://pub.dev
|
2019-08-16 12:24:02 +00:00
|
|
|
[patent_grant]: https://github.com/dart-lang/sdk/blob/master/PATENT_GRANT
|