News for hackers. Stuff that matters.
Re:Rust and WebAssembly in 2019 by steveklabnik on Sunday December 16, 2018 @04:38AM (#18692417)
As I said above, this is true for an app, but you wouldn’t want it for every library. That adds up very quick.

A CDN may happen; there’s some details that make it tough. We’ll see.

npm is already that package manager :)

Re:Rust and WebAssembly in 2019 by krapp on Sunday December 16, 2018 @06:46AM (#18692709)
>npm is already that package manager :)

No, we should be working to replace NPM and the bad influence of the javascript community, not double down on their ubiquity. We should be able to do a lot better than sticking with NPM and wrapping everything in Chromium.

Re:Rust and WebAssembly in 2019 by bayesian_horse on Sunday December 16, 2018 @05:21AM (#18692502)
No need to replace the millions of packages in npm. I predict there will never be a shortage of new javascript frameworks...

No, npm is not THAT package manager. What I am talking about is a way for a user's Browser to download for example a Python 3.7.1 runtime (and similar packages) once, and use it on different sites and applications.

In the simplest form Google or Python.org could serve these files on a CDN. In a more complicated form you could run an application on a range of Python versions, and only download updates when you want and need them.

Re:Rust and WebAssembly in 2019 by steveklabnik on Sunday December 16, 2018 @05:55AM (#18692572)
Ah, yeah. We’ll see if it happens.