← Back to context

Comment by SpaghettiCthulu

2 months ago

I haven't tested this, but in theory running deno with `--v8-flags='--jitless'`[^1][^2] will disable the JIT compiler.

[^1]: https://v8.dev/blog/jitless

[^2]: https://docs.deno.com/runtime/getting_started/command_line_i...

If the performance drops due to lack of JIT, then GPs comment about effectively useless on mobile might still hold weight.

  • It's probably a lot more than that. A well-optimized bytecode interpreter is not 100x slower than native code. But also e.g. QuickJS uses refcounting with the occasional tracing to remove cycles, and while it's a simple and reliable approach, it's not fast.