dart-sdk/README.md

67 lines
2.2 KiB
Markdown
Raw Normal View History

2015-05-18 23:30:56 +00:00
# Dart
## 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
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
2015-05-18 23:30:56 +00:00
[language][lang], [tools][tools],
[getting started][codelab], and more.
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.
## 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
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
[lang]: https://dart.dev/guides/language/language-tour
[tools]: https://dart.dev/tools
Fixed some links **I fixed some links and some other minor flaws.** I also found the following outdated links, which I didn't fix: - [This link](https://github.com/dart-lang/pool/tree/zone.strong) in [this file](https://github.com/dart-lang/sdk/blob/master/docs/newsletter/20170728.md) (didn't fix because don't know new location and this is some sort of archive so the link should probably stay the original) - [This link](https://www.dartlang.org/tools/analyzer) in [this file](https://github.com/dart-lang/sdk/blob/master/pkg/analyzer_cli/lib/src/options.dart) (didn't fix since the link is still working, it just gets redirected and the link is part of the programm, I don't want to break anything by changing it, all other links are in comments) - [This link](https://github.com/domokit/mojo/issues/728) in [this file](https://github.com/dart-lang/sdk/blob/master/build/config/compiler/BUILD.gn) (didn't fix since probably has no new location and is part of TODO, which I don't want to change) While doing all this I also noticed that [these tests](https://github.com/dart-lang/sdk/tree/master/tests/compiler/dart2js_extra) contain a lot of other inconsistencies in their comments and the location of the import-statements (I only fixed one which was not link-related), could be target of another PR. Closes #36927 https://github.com/dart-lang/sdk/pull/36927 GitOrigin-RevId: 71d05d0b52d8ec5b92d077a070e066d1fdd4bbfa Change-Id: Ide4b2424fccad8ae2e06c788efd4443dc0de997b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102222 Reviewed-by: Michael Thomsen <mit@google.com> Commit-Queue: Michael Thomsen <mit@google.com>
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
[contrib]: https://github.com/dart-lang/sdk/blob/master/CONTRIBUTING.md
[pubsite]: https://pub.dev
[patent_grant]: https://github.com/dart-lang/sdk/blob/master/PATENT_GRANT