3 ms·
It should be, as most interpreted code uses a JIT native compiler at this point, which implies the branch prediction is native as well. I would be happy to sta
by stingraycharles 2y ago
It should be, as most interpreted code uses a JIT native compiler at this point, which implies the branch prediction is native as well.
I would be happy to stand corrected if someone knows more about this, though!
- tarruda 2y agoAFAIK CPython doesn't JIT compile.
- pansa2 2y agoRecent versions of CPython do have an experimental JIT compiler. I'm not sure how widely-used it is, though. https://peps.python.org/pep-0744/ https://peps.python.org/pep-0744/
- Qem 2y agoIt's disabled by default, not production ready. You need to compile CPython yourself if you want to try it.
- pansa2 2y ago> most interpreted code uses a JIT native compiler at this point I suspect most JavaScript code is JIT-compiled - but most Python, Ruby etc is interpreted (via bytecode).