3 ms·
The difference between Hotspot on one hand and Bing's use of NativeJIT on the other is that after code generation (the "formulates a custom expression" part), t
by adwn 1y ago
The difference between Hotspot on one hand and Bing's use of NativeJIT on the other is that after code generation (the "formulates a custom expression" part), the code is immediately JIT-compiled to machine code, while Hotspot would first interpret the generated code for a while and collect execution metrics before it JIT-compiles the code. This delay between code generation and compilation to machine code would be unacceptable for Bing's use case, hence why Java+Hotspot aren't suitable for this task. Hope this clears it up.
- nurettin 1y ago> the code is immediately JIT-compiled to machine code As I said multiple times, we disagree on this point. There is a scoring process during runtime which mirrors what hotspot does in the non-literal sense. And again, I'm ok with being "wrong" so off you go.
- adwn 1y agoThe "scoring process" is the generated code, which scores a page's relevance to the user's query. It has absolutely nothing to do with gathering runtime metrics about the generated code, nor with optimizing the performance of the compiled machine code, which is what Hotspot does.