News for hackers. Stuff that matters.
Re:Blazor Mobile, Uno Platform, and WebAssembly by DylanDmitri on Friday January 17, 2020 @01:52PM (#22077827)
I've used Blazor for one project, and it was a true joy to learn. All the good parts of React, but without some of the clunky design decisions that come from having to work with traditional browser javascript.
Re:Blazor Mobile, Uno Platform, and WebAssembly by rb808 on Friday January 17, 2020 @02:23PM (#22078171)
Wow its great to see an actual working webassembly site in the wild. https://todo-blazornative-wasm.platform.uno/ Ive been looking for a while.

Its a bunch slower than I was expecting. I was hoping to be impressed, now I'm not sure. Is there a reason its slow?

Re:Blazor Mobile, Uno Platform, and WebAssembly by carldebilly on Friday January 17, 2020 @03:15PM (#22078735)
As you can see in the top banner, it's using the "interpreted" mode, which is the slowest runtime mode for running .NET on mono-wasm. But it's also the "compatible" mode.

It would be possible to produce an AOT build which would be 50x faster, but it's a little more work and it wasn't the goal of this demo.

Re:Blazor Mobile, Uno Platform, and WebAssembly by nine_k on Friday January 17, 2020 @05:38PM (#22080308)
Impressing with performance is one hell of a goal for a demo.
Re:Blazor Mobile, Uno Platform, and WebAssembly by sasakrsmanovic2 on Friday January 17, 2020 @02:28PM (#22078229)
Here is another one then - Windows Calculator running in the browser. https://calculator.platform.uno/
Re:Blazor Mobile, Uno Platform, and WebAssembly by opwieurposiu on Friday January 17, 2020 @04:56PM (#22079873)
Chrome says 68.4MB(10.5MB compressed)for the Todo app and 61 for the calculator app.

If you look in the *.clr files you see things like "This program cannot be run in DOS mode." which i found amusing.

Re:Blazor Mobile, Uno Platform, and WebAssembly by miohtama on Friday January 17, 2020 @05:54PM (#22080444)
Will the challenge be that you cannot hook to low enough UI/human interaction events to build an alternative for DOM? E.g. Paste menu is impossible to do (needs CTRL+V in Google docs for Firefox), cannot get information about keyboard typing mode in multilingual setups and so on.
Re:Blazor Mobile, Uno Platform, and WebAssembly by dstaley on Friday January 17, 2020 @06:12PM (#22080630)
IIRC Flipboard once tried this approach, rendering everything to a <canvas>. As it stands right now, that will never be a viable solution for the reasons you mentioned, along with the fact you throw literally all accessibility features out the window.