4 ms·
There are a couple partial .NET runtimes reimplemented in JavaScript rather than compiled to WebAssembly; they are usually tied in with C# -> JavaScript generat
by j_s 9y ago
There are a couple partial .NET runtimes reimplemented in JavaScript rather than compiled to WebAssembly; they are usually tied in with C# -> JavaScript generators.
https://github.com/nikhilk/scriptsharp https://github.com/nikhilk/scriptsharp was kind of the granddaddy of them all, with no updates since 2013.
https://github.com/bridgedotnet/Bridge https://github.com/bridgedotnet/Bridge Saltarelle was acquired by Bridge.NET mid-2015: https://blog.bridge.net/bridge-net-acquires-saltarelle-c77a9633e384 https://blog.bridge.net/bridge-net-acquires-saltarelle-c77a9... and seems to be going strong.
https://github.com/SharpKit/SharpKit https://github.com/SharpKit/SharpKit went the other way and is now open source, but original L/GPL/references to licensing for commercial use may have limited growth; it is now MIT.
http://jsil.org/ http://jsil.org/ mostly demonstrates games, and focuses on translating MSIL bytecode rather than any specific language or runtime.
- chrisb 9y agoI wrote an CIL-to-JS translator too: https://github.com/chrisdunelm/DotNetWebToolkit https://github.com/chrisdunelm/DotNetWebToolkit It's not complete, certainly not usable for anything remotely real, but could handle quite a bit of C#. And was fun to work on :)