| commit | dc0567c02cc4a29e60a1f6ea7f492dc5023d3f1f | [log] [tgz] |
|---|---|---|
| author | Vyacheslav Egorov <vegorov@google.com> | Wed Jun 18 06:09:14 2025 -0700 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 18 06:09:14 2025 -0700 |
| tree | de31352b065c0d9e3e1981cf1a7af8ddf5c1c638 | |
| parent | 807e7d3290aa281eacddb2b83726d32b13bac17e [diff] |
[vm] Rework RX workarounds * Disable RX workarounds on simulators: they cause host OS to crash; * Remove Mac OS test for RX workarounds: it can cause host OS to crash; * Remove old outdated code paths for OS versions that don't need workarounds. * Add code which detects whether workaround worked or not by intercepting EXC_BAD_ACCESS. * Avoid using vm_remap in FFI callbacks when JITing, it does not work. Instead restore old logic which manually copies page content, but adjust FFI callbacks implementation to respect possible dual mapping. This reworks changes done in commit d194fcecafc8e6cc26cdb9fed85b70b95d8fd1d7 after additional testing on a wider range of hardware. TEST=manually on physical devices and simulators Change-Id: I339379386183c532fec25e88fa436ff0b970c2cf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435120 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>
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.
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 is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
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 in our repo at docs.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.
Future plans for Dart are included in the combined Dart and Flutter roadmap on the Flutter wiki.