Live data from Hacker News

Mono and WebAssembly – Updates on Static Compilation

mono-project.com

1–10 of 47 posts

Re: Mono and WebAssembly – Updates on Static Compilation

#3
Awesome.

> This currently requires MacOS High Sierra to run.

Ha, feels strange to say it, but "waiting for a Windows version". Also for the latest Mono preview targeting WebAssembly [0], I wanted a Windows nightly...went and looked at the Mono site's nightly downloads...nope, Linux and macOS only. Heh.

0 - http://www.mono-project.com/docs/about-mono/releases/5.8.0/

Re: Mono and WebAssembly – Updates on Static Compilation

#7
post #4

Has 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.

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

Re: Mono and WebAssembly – Updates on Static Compilation

#8
post #6
post #4

Has 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.

We are Microsoft employees :-)

I meant Microsoft as in throwing the full weight of Visual studio integration and tooling!

Re: Mono and WebAssembly – Updates on Static Compilation

#9
post #2

Does anyone know if there is work being done to add JSX syntax to C# (either into the language directly or as part of a pre-processor)?

The CSharpLang github[1] repository would be where to look for this. I didn't find anything that mentioned adding language support for it, and IIRC, in the past they rejected the idea of inline XML or JSON support.

Going the other way of C# inside HTML, you have Razor[2] and Blazor[3], the latter of which is a prototype of Razor running in the browser via web assembly.

[1]: https://github.com/dotnet/csharplang [2]: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor [3]: http://blog.stevensanderson.com/2017/11/05/blazor-on-mono/

Re: Mono and WebAssembly – Updates on Static Compilation

#10
post #4

Has 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.

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...

Post reply on HN