Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by xrd on Sunday December 23, 2018 @08:54PM
(#18749737)
This looks cool, even though I have never used .NET. Rust seems like something that a lot of people are using to compile into web assembly. It would be fascinating to see what alternatives there are here to those two and how they all compare. Go?
[ Parent
| on HN ]
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by k__ on Sunday December 23, 2018 @09:04PM
(#18749774)
I'm especially interested in the size of C#, Java and Go solutions that compile to WASM.
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by epse on Monday December 24, 2018 @03:49AM
(#18751177)
It sends a wasm build of the entire CLR and the same executables you can run natively, so it's gonna be big.
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by mattferderer on Sunday December 23, 2018 @10:37PM
(#18750137)
They're going to be large for a while. In time they'll shrink down to something more reasonable.
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by pjmlp on Monday December 24, 2018 @05:58AM
(#18751570)
Specially since both support linkers and future WebAssembly improvements will reduce the runtime requirements.
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by untog on Sunday December 23, 2018 @11:15PM
(#18750286)
IIRC, Rust is often chosen because you don't have to embed a garbage collector with your code. That's not the case with Go (or C#)
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by pjmlp on Monday December 24, 2018 @05:56AM
(#18751563)
WebAssembly roadmap plans to add GC support, so that is only an interim issue.
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by k__ on Monday December 24, 2018 @06:40AM
(#18751684)
While I had the impression that GC support means the will expose the JavaScript engine's GC to be used by other languages and I don't know if it would work for all, is the GC really such a big chunk of these runtimes?
Re:Blazor Toast Notifications Using Only C#, HTML and CSS
by oaiey on Monday December 24, 2018 @07:36AM
(#18751857)
.NET has the concept of pluggable GC since last CoreCLR release. I highly suspect that other runtimes will have the same.
I also have my doubts but more regards performance of a shared WebAssembly GC in regards to different runtimes.