19

Just read news that Google had announced an early preview of the new web programming language Dart. The documentation on the dartlang.org states:

You will be able to run Dart code in several ways:

  • Translate Dart code to JavaScript that can run in any modern browser: Chrome, Safari 5+, and Firefox 4+ (more browser support coming shortly).

  • Execute Dart code directly in a VM on the server side

  • Use Dartboard to write, modify, and execute small Dart programs within any browser window

And I'm curious is there already VM available to run Dart code? Can't find it anyway, maybe it is available through some beta program?

Seki
  • 11,135
  • 7
  • 46
  • 70
Volo
  • 28,673
  • 12
  • 97
  • 125
  • I'm extremely bummed out that the only way to test Dart is by compiling it to Javascript (meh) or use the REPL for simple cheesy one liners. We need an easier way to try the language out. Lower the barrier of entry Google! – Only Bolivian Here Oct 10 '11 at 20:20

3 Answers3

15

A pre-built binary of the Dart VM is available in the Dart SDK. Alternatively, you can checkout the source to the whole Dart project, which includes the VM.

Seth Ladd
  • 112,095
  • 66
  • 196
  • 279
Chris Bunch
  • 87,773
  • 37
  • 126
  • 127
  • Thanks for the useful link. One note - it has to be compiled from sources, seems that no prebuilt binaries are available at the moment. – Volo Oct 10 '11 at 15:04
  • 1
    try.dartlang.org is deprecated and will be removed or replaced. – Seth Ladd Aug 29 '12 at 13:54
  • Replace by DartEditor and Dartium (Chromium + DartVM): http://www.dartlang.org/docs/editor/ & http://www.dartlang.org/dartium/ – Shadok Dec 12 '12 at 17:17
7

Dartium, Chromium with a Dart VM, is now available.

http://www.dartlang.org/dartium/

ehfeng
  • 3,807
  • 4
  • 33
  • 42
1

You can download precompiled binary runtime for Windows, Linux and Mac from Dart Force. Another way is to run node.js-style HTTP server using Fling.

dkl
  • 3,850
  • 2
  • 27
  • 26