Where is the Dart Virtual Machine Specification?

116 views
Skip to first unread message

Nikolay Botev

unread,
Nov 8, 2011, 4:02:14 AM11/8/11
to General Dart Discussion
Where is the Dart Virtual Machine Specification?

Thanks

Florian Loitsch

unread,
Nov 8, 2011, 5:19:59 AM11/8/11
to Nikolay Botev, General Dart Discussion
On Tue, Nov 8, 2011 at 10:02, Nikolay Botev <bono...@gmail.com> wrote:
Where is the Dart Virtual Machine Specification?

The VM gets Dart source and must evaluate it according to the spec.
// florian

Thanks



--
Give a man a fire and he's warm for the whole day,
but set fire to him and he's warm for the rest of his life. - Terry Pratchett

Nikolay Botev

unread,
Nov 9, 2011, 8:54:17 PM11/9/11
to General Dart Discussion
Thanks Florian,

Does the Dart VM that is currently in development (javascript
compilation aside) use a bytecode representation internally, or does
it directly compile to instructions for the target hardware platform?
If bytecodes are used, is there going to be publicly available
documentation of the bytecode instruction set?

Thanks,
-Nikolay

On Nov 8, 2:19 am, Florian Loitsch <floit...@google.com> wrote:

Srdjan Mitrovic

unread,
Nov 9, 2011, 9:21:08 PM11/9/11
to Nikolay Botev, General Dart Discussion
On Wed, Nov 9, 2011 at 5:54 PM, Nikolay Botev <bono...@gmail.com> wrote:
Thanks Florian,

Does the Dart VM that is currently in development (javascript
compilation aside) use a bytecode representation internally, or does
it directly compile to instructions for the target hardware platform?
If bytecodes are used, is there going to be publicly available
documentation of the bytecode instruction set?

No bytecodes are used in the VM currently, the input to the compilers is AST generated by the Dart parser. We do not plan to "standardize" any of the current or future intermediate representations.

-Srdjan
Reply all
Reply to author
Forward
0 new messages