Earlier quoted context omitted.
Investigate a possibility to support JSX | https://github.com/bridgedotnet/Bridge/issues/808 Bridge.NET translates C# to JavaScript, but JSX is not currently supported.
I like Bridge.NET but I’m not sure how they will survive once the current Mono WebAssembly tech hits release.
Mono and WebAssembly – Updates on Static Compilation
31–40 of 47 posts
Re: Mono and WebAssembly – Updates on Static Compilation
#32Earlier quoted context omitted.
We are Microsoft employees :-)
Why are there currently 2 projects aiming to run C# code in WebAssembly? I mean this one and coreRT?
Re: Mono and WebAssembly – Updates on Static Compilation
#33Earlier quoted context omitted.
Edit : I misread this article. Neiter of the projects i mentioned target webassembly. But CoreRT could one day. Microsoft has two similar projects: CoreRT : Which is a managed re-implementation of the CLR allowing for AoT compilation. LLILC : A LLVM Backend for .NET MSIL. (Stalled) https://github.com/dotnet/corert https://github.com/dotnet/llilc
CoreRT's WASM support is being worked on: https://github.com/dotnet/corert/tree/master/src/ILCompiler.... There are some instructions here: https://github.com/dotnet/corert/blob/master/Documentation/h...
Re: Mono and WebAssembly – Updates on Static Compilation
#34Earlier quoted context omitted.
I like Bridge.NET but I’m not sure how they will survive once the current Mono WebAssembly tech hits release.
WebAssembly does not cover use cases that require a ton of C# JS interop, and it may never adequately cover it. You end up needing a very complex interop bridge similar to C JS interop. A solution like Bridge can compile to JS, making interop near-zero-cost.
Re: Mono and WebAssembly – Updates on Static Compilation
#35How does this handle garage collection? I believe Webassembly doesn't yet support GC so, is this manually compiling it's own GC into it?
Mono already supports embedding the runtime with the application. So they just used that feature here. Also available is the mono interpreter which does it's own garbage collection.
My assumption is that at the moment they are just accepting that some uncollectable memory will happen in the short term and eventually the WebAssembly working group will expose the underlying garbage collector and everything will get better. Early days kind of issue for now.
Re: Mono and WebAssembly – Updates on Static Compilation
#36This awesome, I much prefer to code in C# as compared to js. It is a much cleaner language.
https://github.com/appcypher/awesome-wasm-langs is the full list of WebAssembly languages and their current status.
Re: Mono and WebAssembly – Updates on Static Compilation
#37Earlier quoted context omitted.
Mono already supports embedding the runtime with the application. So they just used that feature here. Also available is the mono interpreter which does it's own garbage collection.
It’s more complex than that, as there’s tons of academic work essentially proving it’s impossible to chain two independent garbage collectors and not end up with stuck uncollectable memory (I apologize, this isn’t my field, I’ve skimmed the work but not retained the citations, and I realize how counter-intuitive that result is... nobody wants to think its true, so it keeps getting more academics thrown at it, without…
Re: Mono and WebAssembly – Updates on Static Compilation
#38This awesome, I much prefer to code in C# as compared to js. It is a much cleaner language.
Re: Mono and WebAssembly – Updates on Static Compilation
#39Has anyone heard about Microsoft working on a similar project? The proof of concept last summer seemed to have raised a lot of interest among Microsoft people. I hope they take that route.
Re: Mono and WebAssembly – Updates on Static Compilation
#40Earlier quoted context omitted.
https://github.com/appcypher/awesome-wasm-langs is the full list of WebAssembly languages and their current status.
I wasn't sure if this list would be any good, but it says right at the top that it's "curated." Imagine my relief!
Yeah it's a mess. GitHub is full of "Awesome XYZ" lists which are basically just dumps of links. Awesome Elixir is a good example, it's worthless and full of 2-year old unmaintained afternoon hacks.