Rich Eakin
2015-03-25 01:55:38 UTC
I just saw this changeset: https://codereview.chromium.org/1023753006/
Description: "First step towards splitting a full snapshot into a vm
isolate snapshot and a
regular isolate snapsot."
I wonder, is it all related to being able to load and operate with multiple
snapshots? I think this would be a super cool feature.
Description: "First step towards splitting a full snapshot into a vm
isolate snapshot and a
regular isolate snapsot."
I wonder, is it all related to being able to load and operate with multiple
snapshots? I think this would be a super cool feature.
(bump)
Is this just not a supported feature and my best bet is to hack in the
vector_math package into the builtin libs snapshot? It seems like
something useful for serverside apps as well, to be able to load their
often used dependencies in a snapshot but a new main script each request.
Best,
Rich
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
To unsubscribe from this group and stop receiving emails from it, send an
Is this just not a supported feature and my best bet is to hack in the
vector_math package into the builtin libs snapshot? It seems like
something useful for serverside apps as well, to be able to load their
often used dependencies in a snapshot but a new main script each request.
Best,
Rich
Is it possible to load a snapshot of a package used within a dart script,
while the part of the dart script with main() is still loaded dynamically.
My use case is that I am scripting an application with the dart runtime and
I'd like to load in a snapshot of some large packages, for example
vector_math. However, the main dart script is live, so every time it is
edited it is re-evaluated with a new isolate.
If this is not possible, am I able to somehow glob the package onto the
'full snapshot' that I generated with the gen_snapshot program?
Thanks,
Rich
p.s. Thank you to those responsible for the documentation on snapshots,
including the section for embedders. I have been using this functionality
and I find it an amazing piece of tech.
--while the part of the dart script with main() is still loaded dynamically.
My use case is that I am scripting an application with the dart runtime and
I'd like to load in a snapshot of some large packages, for example
vector_math. However, the main dart script is live, so every time it is
edited it is re-evaluated with a new isolate.
If this is not possible, am I able to somehow glob the package onto the
'full snapshot' that I generated with the gen_snapshot program?
Thanks,
Rich
p.s. Thank you to those responsible for the documentation on snapshots,
including the section for embedders. I have been using this functionality
and I find it an amazing piece of tech.
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
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
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
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
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.