5 ms·
I've seen that but the showcase doesn't look very convincing compared to say emscripten. Do you know about any bigger projects using JSIL ?
by moonchrome 11y ago
I've seen that but the showcase doesn't look very convincing compared to say emscripten.
Do you know about any bigger projects using JSIL ?
- ZenoArrow 11y agoI've not used JSIL myself, but the performance of the demos seems fairly decent. Do you have any bigger .NET projects of your own you could try out? If you're looking for asm.js/wasm support in particular, you may be interested in LLILC, which appears to be a .NET Core to LLVM IR compiler, meaning you could make use of Emscripten to convert the code to asm.js: https://github.com/dotnet/llilc https://github.com/dotnet/llilc
- moonchrome 11y agoI don't, I've written a prototype for my lib a year ago in C# and probably have that lying around somewhere but since then we've ported it to C++ and done heavy refactoring/development - I could probably spend some time and try to get that prototype working on JSIL but I need to see how the xamarin story plays out before I invest significant time into this. IIRC LLILC is ways off from actually being usable as a static compiler and you'll still have to figure out how to ship a runtime and do GC in asm.js (realistically can't) and not to mention it's single threaded so it's a question if you can even get CoreCLR to run in such enviroment without heavy modifications. It would be huge if we could just write everything in C# (frontend/lib and backend) but I don't see this realistically being possible for at least two years given the development pace of webasm.