News for hackers. Stuff that matters.
Re:Create your own JavaScript Engine by brabel on Sunday August 07, 2022 @04:10AM (#32374793)
I would first try to find out how much overhead doing that has compared to embedding a smaller language that was designed to be embedded, like Lua. I bet this would be thousands of times heavier both on disk and on memory usage.
Re:Create your own JavaScript Engine by sfvisser on Sunday August 07, 2022 @07:48AM (#32375754)
Maybe you can load a single interpreter instance once on app startup and reuse that in different contexts? Not much experience with this, but I assume there are possibilities.