Re:Introducing a new, advanced Visual C++ code optimizer
by micahbright on Thursday May 05, 2016 @03:38PM
(#11639102)
Hopefully, they will just recompile the binaries, and the CLR will just get faster...
[ Parent
| on HN ]
Re:Introducing a new, advanced Visual C++ code optimizer
by daeken on Thursday May 05, 2016 @04:13PM
(#11639332)
That'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.
Re:Introducing a new, advanced Visual C++ code optimizer
by micahbright on Thursday May 05, 2016 @06:07PM
(#11640016)
Are 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.
Re:Introducing a new, advanced Visual C++ code optimizer
by ynik on Thursday May 05, 2016 @06:37PM
(#11640206)
The 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.
Re:Introducing a new, advanced Visual C++ code optimizer
by micahbright on Friday May 06, 2016 @09:30AM
(#11643792)
Interpreter 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.