logoalt Hacker News

kllrnohjtoday at 12:52 PM2 repliesview on HN

No, it isn't. JITs don't grant capabilities abilities an equivalent interpreter doesn't already have.

Allowing code execution allows code execution, that's it, that's the entirety of it.


Replies

MaxBarracloughtoday at 3:19 PM

There's more to it than that though. Defects in JIT logic can lead to nasty low-level bugs. Plain old interpreters, especially if written in a safe language, are unlikely to have similar issues. This is important when the input code is untrusted. JIT bugs are a major source of browser vulnerabilities.

show 1 reply
Ohentistoday at 1:52 PM

[dead]