why re-mcompile JS each time?

why V8 doesn't compile the js once and cache the binary output for the next run? instead of recompiling each time. it'll be almost like wasm except that you just write JS scripts.
2 Replies
_anno
_anno3y ago
V8 does cache the compiled JS code (and tries to optimize the instructions, like for example the JVM)
venego
venegoOP3y ago
thank you, I didn't know that
Want results from more Discord servers?
Add your server