Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



> 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).


AFAIK CPython doesn't JIT compile.


Recent 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/


It's disabled by default, not production ready. You need to compile CPython yourself if you want to try it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: