ember-fastboot / fastboot

FastBoot is a library for rendering Ember.js applications in Node.js.
http://ember-fastboot.com/
158 stars 71 forks source link

Move Application and ApplicationInstance creation into VM sandbox #244

Open rwjblue opened 4 years ago

rwjblue commented 4 years ago

Currently, we do a few things in the node process (instead of within the sandbox context):

Everything in this list except the last item should actually be done within the sandboxed VM context instead. This will allow these steps to be further optimized and shared across visits (since the VM scripts we evaluate share bytecode and compilation information), and it will also significantly improve the prototype extension compatibility (#170).