dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.47k stars 4.76k forks source link

Consider targeting NaCL as a supported platform of CoreCLR #4621

Closed AArnott closed 4 years ago

AArnott commented 9 years ago

It seems that if CoreCLR ran on the Google Native Client, we could run CoreCLR code in Chrome, and (eventually) Electron apps, and potentially any other Chromium host.

Is there any interest? Has any investigation been done already?

AArnott commented 9 years ago

Rumor has it that mono has already been compiled for NaCL.

mellinoe commented 9 years ago

Perhaps we can consider targeting WebAssembly as a forward-looking goal? It would get us more reach than just Chromium browsers, but I have no idea what the timeline is like for it to become usable/stable. Perhaps we could have an experimental branch as it moves along.

jkotas commented 7 years ago

NaCl is officially deprecated in favor of WebAssembly now: https://blog.chromium.org/2017/05/goodbye-pnacl-hello-webassembly.html

AArnott commented 7 years ago

@jkotas would dotnet/coreclr#5303 be an equivalent issue to this one, but tracking .NET Core code doing native code gen for WebAssembly instead?

jkotas commented 7 years ago

I think so.