TP of Mac and Linux Binaries for Dart VM with Chromium (Dartium) Now Available!

Techincal preview of Chromium with Dart engine is now available on Mac and Linux, and allows you to run Dart programs directly on the Dart VM in Chromium and avoid a separate compilation step.Over time, these programs will take advantage of the VM's faster performance and lower startup latency."This release of the Chromium + Dart […]

Dartium: Dart VM with Chromium for Mac and LinuxTechincal preview of Chromium with Dart engine is now available on Mac and Linux, and allows you to run Dart programs directly on the Dart VM in Chromium and avoid a separate compilation step.

Over time, these programs will take advantage of the VM's faster performance and lower startup latency.

"This release of the Chromium + Dart VM integration is another step forward for the open source "batteries included" Dart platform. Our goal is to help you build complex, high performance apps for the modern web, and we encourage you to try Dart and let us know what you think," Chrmium team posted.

Adding, "Dart has been designed from the start to work with the entire modern web, and we're simultaneously continuing to improve our fast Dart-to-JavaScript compiler. Both the Dart VM and modern JavaScript engines are first-class targets for Dart," the team said.

Note: "The Dartium binary will expire after a few days. When that happens, you'll need to download a new copy if you want to continue using Dartium. You don't need to do anything special to install Dartium: just unarchive the ZIP file. If you like, move the resulting directory to a convenient location," explains Google.

To launch Dartium, navigate to its directory in your finder, and double-click the blue logo labeled Chromium. Or use the command line:

On Linux, you can enable specify flags by starting Dartium as follows:

DART_FLAGS='--enable_type_checks --enable_asserts' path/chrome

Or on the Mac:

DART_FLAGS='--enable_type_checks --enable_asserts'              \
  path/Chromium.app/Contents/MacOS/Chromium

Or (also on the Mac):

DART_FLAG='--enable_type_checks --enable_asserts'               \
   open path/Chromium.app

Tip: You can see the command-line flags and executable path of your current Chromium-based browser by going to chrome://version/.

If you already use Chromium: If another version of Chromium is open, then you could have a profile conflict. To avoid this, you can open Dartium or Chromium from the command line with the --user-data-dir flag.

You can download the binaries here that integrate the Dart VM into Chromium.