Discussion:
[dart-misc] Embedding the Dart VM and running a snapshot
r***@gmail.com
2017-06-24 01:50:14 UTC
Permalink
So, I've been trying to figure out how exactly to embed the Dart VM...and
it's kinda complicated, but I think I know how to do things.

Well, sorta.

Right now, I'm trying to figure out how to run a snapshot script using the
embedded VM, and I genuinely can't figure it out right now. Where should I
begin looking?

--
Ryan (ラむアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone
elsehttp://refi64.com
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Michael Francis
2017-07-07 01:04:47 UTC
Permalink
Ha, been there before.

I would highly recommend you checking out https://github.com/flutter/engine.
This is the part under the hood of Flutter for Android/iOS. You want to
look at the part in the "runtime " directory.
In that project they use a lib called Tonic. Found:
https://fuchsia.googlesource.com/tonic/ This can help you convert c++
objects to Dart

Also start by reading:
https://www.dartlang.org/articles/dart-vm/native-extensions
Post by r***@gmail.com
So, I've been trying to figure out how exactly to embed the Dart VM...and
it's kinda complicated, but I think I know how to do things.
Well, sorta.
Right now, I'm trying to figure out how to run a snapshot script using
the embedded VM, and I genuinely can't figure it out right now. Where
should I begin looking?
--
Ryan (ラむアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone elsehttp://refi64.com
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Florian Loitsch' via Dart Misc
2017-07-07 08:18:13 UTC
Permalink
[+vm-dev]
Post by Michael Francis
Ha, been there before.
I would highly recommend you checking out
https://github.com/flutter/engine.
This is the part under the hood of Flutter for Android/iOS. You want to
look at the part in the "runtime " directory.
https://fuchsia.googlesource.com/tonic/ This can help you convert c++
objects to Dart
https://www.dartlang.org/articles/dart-vm/native-extensions
Post by r***@gmail.com
So, I've been trying to figure out how exactly to embed the Dart VM...and
it's kinda complicated, but I think I know how to do things.
Well, sorta.
Right now, I'm trying to figure out how to run a snapshot script using
the embedded VM, and I genuinely can't figure it out right now. Where
should I begin looking?
--
Ryan (ラむアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone elsehttp://refi64.com
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...