News for hackers. Stuff that matters.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by cr3ative on Wednesday June 26, 2019 @09:31AM (#20284794)
So looking at https://calculator.platform.uno/

- 84 HTTP requests

- 10.2 MB transferred

- 51.9 MB in decompressed assets

- 23.44 seconds to start the application.

For a calculator, these are pretty extreme numbers.

Re:Windows 10 Calculator is now running on WebAssembly, nati... by jeromelaban-nv on Wednesday June 26, 2019 @01:04PM (#20286887)
dev here - this app is based on mono-wasm, which uses the very young support for AOT compilation from .NET IL to WebAssembly. There are limitations in WebAssembly (namely the lack of support for exceptions) that force the mono codegen to add a lot of weight to respect the .NET semantics. The rest is what it is because mono-wasm still is in the "make it work" phase.

23s, especially if it is the second run where the wasm is cached, to start the application is very high though. It should be below 4s (which is still high) on a desktop class machine. Was that on an Android phone by any chance ?

Re:Windows 10 Calculator is now running on WebAssembly, nati... by cr3ative on Thursday June 27, 2019 @05:59AM (#20293036)
Chrome, OSX, Macbook Pro (2018). I retried today and it took 30 seconds, looking at the Network tab.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by the_trapper on Tuesday June 25, 2019 @06:59PM (#20280046)
This is pretty incredible work.

I'm curious to hear how well Platform Uno works in practice with real world projects. The demos are quite impressive.

I always thought that UWP was a much nicer platform to develop for than Android. It's a shame that Microsoft's mismanagement pretty much killed Windows Mobile as a viable platform.

Re:Windows 10 Calculator is now running on WebAssembly, nati... by panpanna on Wednesday June 26, 2019 @12:29PM (#20286516)
This is like the opposite of KISS.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by garganzol on Thursday June 27, 2019 @06:26AM (#20293165)
If only it could load a bit faster. To mask that time, you can use the load progress screen.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by desi_ninja on Wednesday June 26, 2019 @07:05PM (#20290195)
I think it is pretty impressive and I want to know more about porting UWP apps to WebAssembly.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by thenewsemi on Tuesday June 25, 2019 @07:25PM (#20280305)
Why does a calculator needs Network Permission? (atleast on the Android version)
Re:Windows 10 Calculator is now running on WebAssembly, nati... by X-Cubed on Tuesday June 25, 2019 @09:05PM (#20280964)
It's capable of currency conversion and pulls the latest rates from a web API.
Re:Windows 10 Calculator is now running on WebAssembly, nati... by djsumdog on Tuesday June 25, 2019 @11:58AM (#20275505)
Did they remove the telemetry?