Hacker News new | ask | show | jobs
by nly 12 days ago
The JIT can't afford the runtime to do these kinds of fixed function optimizations, and isn't tuned to perform them well.

Even your C standard library has assembly language implementations of things like strlen because your AOT C compiler can't optimise these functions optimally

1 comments

I don't understand the point.

Yes, JIT has lots of intrinsics.I had to inspect the crc32 loop (128bit vector instructions) as I expected to be faulty in some cases of unaligned data but it was fine.

I am very much aware where the assembly code for Hotspot is.