News for hackers. Stuff that matters.
Re:Single Page Applications using Rust by balfirevic on Tuesday August 11, 2020 @02:31PM (#24123957)
I still hope that we'll get a lightweight (or lightweight enough, at least) .NET VM on WebAssembly. Blazor is far from lightweight currently, but it's runtime wasn't purposefully written for the task and is based on Mono.

Rust certainly has an advantage here, as it was design to not require a runtime system.

Re:Single Page Applications using Rust by pjmlp on Wednesday August 12, 2020 @05:06AM (#24129915)
That is more an issue with the current implementation than anything else, there are other managed languages with much better AOT compilation support for WebAssembly.
Re:Single Page Applications using Rust by balfirevic on Wednesday August 12, 2020 @11:04AM (#24132735)
I'm mostly concerned by download size. That might remain relatively large even if AOT compiled, because GC and runtime still need to be shipped with the application.
Re:Single Page Applications using Rust by pjmlp on Wednesday August 12, 2020 @12:18PM (#24133578)
That is why linkers are relevant.

Tiny Go, D and AssemblyScript all manage small enough download sizes.

Then just like with native apps, one doesn't necessarily need to download everything at once.