I got this wacky idea during a sleepless night that the web platform should not be a platform at all, it should be more like a shell.
So instead of having web browsers baked with all the tech of the platform, it should just be a small utility that offers low-level APIs for painting on the screen, showing text, emitting sounds, etc... and the ability to load WASM modules that can leverage these APIs.
"web pages" specify the WASM module they want to use and provide the data for them.
- A simple text-only page would render to the screen using only a small amount of RAM, because all the other stuff need not be present at all, anywhere.
- typical documents would leverage widely-used (and hence lcally-cached) modules, while heavy applications would ship their own WASM modules, such that you do not need for the platform to do everything for everybody.
- Imagine the convenience of Electron but without installing an application, and with reasonable RAM usage.
@natecull Replace npm? Yes please.
One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!