Closed iefserge closed 8 years ago
@piranna Few reasons, of course there are possibilities for improvement:
Definitely that complicate things and would make build process slower... :-/ El 9/7/2016 12:02, "Serge" notifications@github.com escribió:
@piranna https://github.com/piranna Few reasons, of course there are possibilities for improvement:
- yeah, v8 is patched a bit, things that deal with OS APIs. This can be improved by directly supporting functions like gettimeofday etc.
- v8 build system creates some generated files, converts js files into c++ byte arrays. This would require running v8 build system once.
- Snapshot needs to be generated for faster startup, this requires running QEMU once.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/runtimejs/runtime/pull/124#issuecomment-231526661, or mute the thread https://github.com/notifications/unsubscribe/AAgfvumrmVB9HPkai59cXIm4JCgLc09_ks5qT3G4gaJpZM4JIlPH .
Just a suggestion for the future: since v8 needs to be included because there are some parts that need to be autogenerated, why not host this autogenerated v8 on another repo and just download it? This would make more clear runtime.js repo, and v8 one could be auto-updated itself... This is what I'm currently doing with NodeOS, to make a mechanism to keep auto-updated all the external dependencies... El 16/7/2016 21:24, "Serge" notifications@github.com escribió:
Merged #124 https://github.com/runtimejs/runtime/pull/124.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/runtimejs/runtime/pull/124#event-725272311, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgfvkTPL1b6uqiY5-OJcJif02qASZlJks5qWS_3gaJpZM4JIlPH .
Why instead of bundle a copy of v8 in the source tree it's not downloaded from upstream on an initial step as NodeOS generator does? Is it being applied some patch to the v8 code? If so, why not apply it instead on download step, too? El 9/7/2016 11:14, "Serge" notifications@github.com escribió: