4 ms·
The title is wrong. This is not a C++ to x86 JIT (which would be really cool), this is a JIT library for C++ (of which there are a number). It has it's own doma
by EgoIncarnate 10y ago
The title is wrong. This is not a C++ to x86 JIT (which would be really cool), this is a JIT library for C++ (of which there are a number). It has it's own domain specific language for expressions. It doesn't take arbitrary C++. No std C++ syntax, no classes, etc.
Ex:
// nativeJIT DSL
auto & area = expression.Mul(rsquared, expression.Immediate(PI));
auto function = expression.Compile(area);
// C++
auto area = rsquared * PI;
- RossBencina 10y ago"this is a JIT library for C++ (of which there are a number)" Out of interest, can you recommend any others that are actively maintained?
- sctb 10y agoThanks, we updated the title from “NativeJIT – a C++ to x64 JIT used in Bing”.