Join Nostr
2025-11-12 11:54:12 UTC
in reply to

Reid :blobcathappy: on Nostr: it's not really a weakness of JIT but rather just the design of compilers in general: ...

it's not really a weakness of JIT but rather just the design of compilers in general: when the code gets turned into raw machine code it runs faster but it also has very direct access to do as it pleases. Operating systems and runtimes like the ones provided by .NET, Java, Firefox, or Chrome can limit this somewhat, but they can only go so far.

Also, there are very similar issues with WebGl and WebGPU which allow direct access to the GPU, something that has been exploited on several occasions to read the framebuffer and see the whole screen from within a browser without using the regular screen capture APIs or requesting any special permissions, just exploiting WebGL, so I recommend disabling that as well