4 ms·
Hopefully, they will just recompile the binaries, and the CLR will just get faster...
by micahbright 10y ago
Hopefully, they will just recompile the binaries, and the CLR will just get faster...
- daeken 10y agoThat's not really the way it works. The CLR compiles .NET code to native machine code (either at runtime or ahead of time), which means you need to implement these optimizations at the code generation layer of the CLR. You can make the CLR implementation itself faster, but that's negligible compared to the run time of the generated code.
- micahbright 10y agoAre you saying the "code generation layer" of the CLR isn't itself written in c++? All of this stuff trickles down without a doubt. I realize it isn't going to magically optimize the bytecode, however, the thing that runs the bytecode will be faster.
- ynik 10y agoThe CLR doesn't have any bytecode interpreter that could get faster with this change. It's a JIT compiler that compiles the bytecode to native code.
- micahbright 10y agoInterpreter or not, the JIT compiler will certainly get faster with the c++ optimizations. The libraries that are linked against will get faster. The underlying OS components will get faster. Since .NET assemblies are mostly just glue code between framework code, which is mostly c++, everything should get a speedup out of this.