Open weixiongmei opened 4 years ago
I'm just starting with JerryScript and esp32. Where are you with your port? Is there a known reason why snapshot don't work? Have you thought about contributing back your port to the project?
The snapshot support for modules is not a trivial task, since the import/export support, which is normally done by the parser should be done at snapshot loading time. Unfortunately we don't have resources to work on it at the moment.
understood - thanks for the answer. BTW, do you want an esp32 port or that does not matter for you?
@philippe44, sorry, the port is for commercial usage, so can't share it, spent two years to port all the drivers and GUI to it.
no worries - I was of course just thinking about the base jerry-port things, not more. I'll share mine if the maintainers are interested
@philippe44, if you're willing to implement it, then sure. It would be good to add a build job for it to the CI.
My project has over a 10000 lines of javascript codes, it takes almost 13 seconds on ESP32(240Mhz) to load the codes from the internal flash, the snapshot will be very helpful for large projects, but unfortunately the modules doesn't support for snapshot, is it possible to add snapshot support for modules? Thanks