ashmind / SharpLab

.NET language playground
https://sharplab.io
BSD 2-Clause "Simplified" License
2.7k stars 198 forks source link

Separate Roslyn branch and CPU architecture options #895

Open Thealexbarney opened 2 years ago

Thealexbarney commented 2 years ago

Currently the x64 option is the only way to get x64 assembly output. Choosing any of the Roslyn branches will force the output to x86. It would be nice if the architecture was a separate option. It would be even more useful currently because the x64 option appears to be using an old build of Roslyn as of right now.

ashmind commented 2 years ago

Thanks for the suggestion! It is not possible to implement that easily in the current architecture, as it would require two sites per branch. However if the JIT approach is ever changed (e.g. if we can call JIT as a library), then this will become possible.