News for hackers. Stuff that matters.
Re:Moving from TypeScript to Rust / WebAssembly by blub on Thursday July 09, 2020 @02:35AM (#23777559)
Most things thank goodness are not SPAs, nor do they have to be.

The problem here is the concept of SPA itself - it's a complete hack which is plastered over with various tricks to make it halfway usable. This has been going on for years now.

Websites on the other hand are slow because of the tracking and the ads which load tons of JS. Remove that and the web will be blazing fast.

Re:Moving from TypeScript to Rust / WebAssembly by heavyset_go on Thursday July 09, 2020 @05:19AM (#23778360)
> Remove that and the web will be blazing fast.

With sufficient ad blocking and JS white listing, I can attest to this.

After removing ads and analytics, sites that rely on JavaScript to render significant amounts of content are the slowest.

Re:Moving from TypeScript to Rust / WebAssembly by XCSme on Thursday July 09, 2020 @10:35AM (#23780726)
If you have A LOT of content (eg. a table with 10000 rows containing rich data) it will be faster to use a JS virtualized list than to just have all those 100k+ DOM elements computed at once.