Find a file
Alexander Markov c0d1dedd78 [vm] Disable inlining of _StringBase._createOneByteString
If _StringBase._createOneByteString is inlined it becomes much slower
due to https://github.com/dart-lang/sdk/issues/37800.

This workaround improves Base64Encoder benchmark on ia32 in bytecode mode:

Base64Encoder(RunTime): 63.31 -> 46.7 us.

Issue: https://github.com/dart-lang/sdk/issues/37800
Change-Id: Ibcf5dc7bfd25bac0bd61a9dcb196c553c82f3dc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112647
Reviewed-by: Aart Bik <ajcbik@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-12 17:56:05 +00:00
.github Update new issue template. 2019-04-30 18:14:21 +00:00
benchmarks [benchmarks/ffi] Add micro and macro benchmarks for dart:ffi 2019-07-19 14:59:57 +00:00
build Mass format python with yapf 2019-08-05 20:34:31 +00:00
client
docs Updated spec_parser such that it runs with ANTLR v4 2019-03-19 14:06:26 +00:00
pkg Fix hints in nnbd_migration package. 2019-08-12 17:01:06 +00:00
runtime [vm] Disable inlining of _StringBase._createOneByteString 2019-08-12 17:56:05 +00:00
samples ffi example: android.md - fix example code 2019-07-14 23:10:15 +00:00
samples-dev Mass format python with yapf 2019-08-05 20:34:31 +00:00
sdk [vm/ffi] Fix instantiation and garbage collection of NativeType objects 2019-08-09 16:47:24 +00:00
tests [dart2js] Remove testing of no-constant-update-2018 state 2019-08-12 07:20:23 +00:00
third_party Reland "[llvm] Add initial scaffolding" 2019-07-30 20:34:31 +00:00
tools Reland "[vm/ffi] Support structs on 32bit architectures" 2019-08-09 14:14:32 +00:00
utils [dartdevc] fix sdk source map paths 2019-07-15 16:11:04 +00:00
.clang-format
.gitattributes Remove the Dart 1 tests. 2018-10-11 23:45:18 +00:00
.gitconfig [infra] Add documentation to .gitconfig 2018-06-11 18:24:16 +00:00
.gitignore Reland "[llvm] Add initial scaffolding" 2019-07-30 20:34:31 +00:00
.gn
.mailmap fix my name in .mailmap 2018-09-11 01:45:52 +00:00
.packages Reland "[ VM / Service ] Pulled in vm_service_drivers from its own repo." 2019-07-25 18:46:43 +00:00
.style.yapf Mass format python with yapf 2019-08-05 20:34:31 +00:00
.vpython [infra] Add .vpython spec to fix gsutil on the bots (#31065) 2018-10-11 15:11:35 +00:00
AUTHORS [ VM ] Updated splay-tree licenses, added V8 project authors to AUTHORS 2019-04-30 19:50:46 +00:00
BUILD.gn Add defined() guard for checkout_llvm build flag 2019-08-09 19:00:24 +00:00
CHANGELOG.md [vm] Rephrase changelog entry for 2.4.1 patch release 2019-08-08 18:21:29 +00:00
codereview.settings Update codereview.settings to Gerrit (dart-review.googlesource.com) 2017-09-04 12:52:09 +00:00
CONTRIBUTING.md Change wiki link to follow contents moved. 2019-01-12 18:46:22 +00:00
DEPS [co19] Roll co19 to a6f62f2024492b2c79b741d4b96e67fce31a9830 2019-08-07 11:37:00 +00:00
LICENSE
PATENTS
PRESUBMIT.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
README.dart-sdk
README.md Fixed some links 2019-07-01 16:21:41 +00:00
WATCHLISTS Remove Kevin from kernel watchlist 2019-08-02 09:31:26 +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 has 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

License & patents

Dart is free and open source.

See LICENSE and PATENTS.

Using Dart

Visit the dart.dev to learn more about the language, tools, getting started, and more.

Browse pub.dev 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.