4 ms·
I love Continuum, and I think it takes the right approach for implementing all of ES6, if that's what you want. I just didn't think I could pitch the idea of us
by bnjmn 13y ago
I love Continuum, and I think it takes the right approach for implementing all of ES6, if that's what you want. I just didn't think I could pitch the idea of using a virtual virtual machine to my team, so I took the more conservative approach.
- fzzzy 13y agoWhile I would love the rest of es6 the only things I really really want for the project I am working on are generators and sandboxes. I tried implementing sandboxing a little while back by cleaning the global namespace after every tick and freezing all the built in prototypes, but I still don't know enough about the dirty details of js to know if I am doing it properly in a way that will actually be fast. I am reluctant to use with but a friend of mine suggested that it is possible to use it to avoid polluting the global namespace. This in combination with freezing all the global prototypes might be enough to do what I want. Have you thought about this at all? Is there already a library for this that would do what I want? I wouldn't mind running the code in a worker to restrict access to the dom apis.
- apaprocki 13y agoHave you looked into using Caja to sandbox? https://developers.google.com/caja/docs/runningjavascript/ https://developers.google.com/caja/docs/runningjavascript/
- fzzzy 13y agoYes. Thanks for reminding me to look at it again though. I think it might be a little slower than I would like, but I will try again.