dart-sdk/README.md

75 lines
2.7 KiB
Markdown
Raw Normal View History

2015-05-18 23:30:56 +00:00
# Dart
## An approachable, portable, and productive language for high-quality apps on any platform
Dart is:
* **Approachable**:
Develop with a strongly typed programming language that is consistent,
concise, and offers modern language features like null safety and patterns.
* **Portable**:
Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend.
Compile to JavaScript or WebAssembly for the web.
* **Productive**:
Make changes iteratively: use hot reload to see the result instantly in your running app.
Diagnose app issues using [DevTools](https://dart.dev/tools/dart-devtools).
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 platforms illustration](docs/assets/Dart-platforms.svg)
## License & patents
Dart is free and open source.
See [LICENSE][license] and [PATENT_GRANT][patent_grant].
2015-05-18 23:30:56 +00:00
## Using Dart
Visit [dart.dev][website] to learn more about the
[language][lang], [tools][tools], and to find
[codelabs][codelabs].
2015-05-18 23:30:56 +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.
Our API reference documentation is published at [api.dart.dev](https://api.dart.dev),
based on the stable release. (We also publish docs from our
[beta](https://api.dart.dev/beta) and [dev](https://api.dart.dev/dev) channels,
as well as from the [primary development branch](https://api.dart.dev/be)).
## Building Dart
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).
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].
[website]: https://dart.dev
[license]: https://github.com/dart-lang/sdk/blob/main/LICENSE
2015-05-18 23:30:56 +00:00
[repo]: https://github.com/dart-lang/sdk
[lang]: https://dart.dev/guides/language/language-tour
[tools]: https://dart.dev/tools
[codelabs]: https://dart.dev/codelabs
2015-05-18 23:30:56 +00:00
[dartbug]: http://dartbug.com
[contrib]: https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md
[pubsite]: https://pub.dev
[patent_grant]: https://github.com/dart-lang/sdk/blob/main/PATENT_GRANT