Re:WebAssembly Threads ready to try in Chrome 70
by mattferderer on Tuesday October 30, 2018 @09:45AM
(#18336371)
The really cool thing about Blazor is currently with a couple small changes, you can switch it to a server side "Razor Components" app. The idea behind the server side concept is that it uses Web Sockets to tell the browser what changes to make. All the logic happens on the server side.
There are a lot of pros & cons here to this way. Some pros are a fast initial render & small amount of bytes needing to be sent. Cons are you need internet access & render changes aren't as fast as client side.
This biggest pro I see though is being able to develop a front end app that you can later switch to Blazor/Web Assembly with the client taking over part of the logic when Blazor & Web Assembly are less experimental. For internal apps, or apps where you know the internet/network connection should always be good, this is a great way to go.
Re:WebAssembly Threads ready to try in Chrome 70
by eksemplar on Tuesday October 30, 2018 @02:16AM
(#18334289)
We found it good enough to build internal apps. Better than our current JS setup because it’s far more productive.
It’ll make its way into .net core 3.0, so I think it’s more than just a poc.
It’s early of course and not very flexible, if you want to build something it wasn’t meant for, it breaks.
Re:WebAssembly Threads ready to try in Chrome 70
by singularity2001 on Tuesday October 30, 2018 @03:32AM
(#18334512)
what's the performance penalty of the mono VM?
Re:WebAssembly Threads ready to try in Chrome 70
by eksemplar on Tuesday October 30, 2018 @04:34AM
(#18334757)
Performance is fine, but it’s still too big for slow internet. A simple form for turning in signed data and starting an internal service is easily a few MB. Which isn’t a problem for internal solutions that never leave the administrative network, but we’ll keep doing vue and graphql Apollo for our apps that have to function on mobile networks for the time being.
With garbage collection support landing in WebAssembly we might see compilation of .net IL to WebAssembly, but that’s still out in the future.