Find a file
Kevin Millikin 865e0669b2 Move the Kernel string offsets into the VM's heap.
Copy the Kernel string offsets into a uint32 array in the VM's heap.
This avoids allocating small string objects with new and avoids having
a table of the canonical strings.

Instead of an offset and a size, strings are now represented as
indexes into the string table in the heap.  The start offset of string
N is found at byte offset N*4 because it is a uint32, and the end
offset is found at byte offset (N+1)*4.  The strings themselves are
just integer indexes instead of pointers.

In the stream flow graph builder, string access is all random access.

R=jensj@google.com, vegorov@google.com

Review-Url: https://codereview.chromium.org/2852943003 .
2017-05-02 17:35:55 +02:00
build [GN] Fix prebuilt sdk detection on Windows 2017-05-01 14:41:03 -07:00
client Ignore some uses of deprecated APIs. 2017-04-03 08:31:00 -07:00
docs/language Fixed typo: "keyword parameter" changed to "named parameter". 2017-04-26 16:11:59 +02:00
pkg Fix bugs found while working on tests 2017-05-02 06:15:25 -07:00
runtime Move the Kernel string offsets into the VM's heap. 2017-05-02 17:35:55 +02:00
samples Format samples and samples-dev directories. 2017-04-19 07:30:17 -07:00
samples-dev Dart SDK Spelling b, c, and d. 2017-05-01 08:28:10 +02:00
sdk Make json-maps implement Map<String, dynamic>. 2017-05-02 14:51:32 +02:00
tests Mark tests as flaky. 2017-05-02 15:57:18 +02:00
third_party [infra] Fixes for cross-toolchains 2017-04-06 15:03:26 -07:00
tools Update checked-in SDK to 1.24.0-dev.2.0 2017-05-02 15:09:46 +02:00
utils Add support for building patched_sdk and platform.dill for dart2js: 2017-05-01 17:23:02 -07:00
.clang-format Add .clang-format and run clang-format on runtime/platform. 2016-11-03 14:25:16 -07:00
.gitattributes Restore line endings of files that should be CRLF. 2016-12-09 11:09:55 -08:00
.gitignore Git ignore vscode project files. 2017-03-23 15:26:06 -07:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap
.packages Add support for the new function-type syntax. 2017-02-23 13:36:28 +01:00
.travis.yml Fix FF test status and re-enable 2017-03-14 09:28:10 -07:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
BUILD.gn [Fuchsia] Build only the parts of the SDK that are needed 2017-04-19 09:00:14 -07:00
CHANGELOG.md Make json-maps implement Map<String, dynamic>. 2017-05-02 14:51:32 +02:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
create_sdk.gyp Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00
dart.gyp Remove dart_noopt and related parts from the VM. 2017-01-11 16:55:55 -08:00
DEPS Bring dart_style 1.0.4 into the repo. (#29487) 2017-04-26 14:54:05 -07:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS
PRESUBMIT.py Print the correct path to dartfmt in the presubmit error message. 2017-04-04 16:13:31 -07:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md [gardening] Whitespace change to trigger bots. 2017-04-28 10:08:58 -07:00
WATCHLISTS Add more diagnostics to UX watch list. 2017-04-18 14:51:00 +02:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed 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.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License & patents

See LICENSE and PATENTS.