3 ms·
If I'm reading this correctly this only applies to the .NET 4 runtime and not the old .NET 2.0 runtime (also powering .NET 3.0 and 3.5 solutions). In that case
by trezor 17y ago
If I'm reading this correctly this only applies to the .NET 4 runtime and not the old .NET 2.0 runtime (also powering .NET 3.0 and 3.5 solutions).
In that case I guess if you are running tail-recursion heavy algorithms on x64, just recompiling the same old code for the .NET 4 runtime should yield runtime improvements.
Would be interesting if someone had any actual measurements for this.
- Gobiner 17y agoI'm no CLR JIT expert, but I'm not sure you even need to recompile. It sounds to me that you just need to run your existing tail-calling code on the .NET 4 x64 CLR, presuming your current code has ``tail'' opcodes.
- DougBTX 17y agoAppears to require a small amount of magic: http://stackoverflow.com/questions/896629/how-to-run-clr-2-application-as-clr-4-application http://stackoverflow.com/questions/896629/how-to-run-clr-2-a...