News for hackers. Stuff that matters.
Re:CPython's main branch running in the browser with WebAsse... by infocollector on Sunday November 28, 2021 @11:36PM (#29376416)
This looks exciting. If anyone knows how to, perhaps they can report how much space this uses in the browser? Some benchmarks? Someday soon I hope we can use this for developing code on the browser to aid with web applications.
Re:CPython's main branch running in the browser with WebAsse... by ethanhsmith on Monday November 29, 2021 @01:43AM (#29377093)
Hi, author of the tweet here

It is definitely too early for benchmarks, this is a "I got it working!" update.

The original data file with all of the standard library was a bit over 200MB. Slashing what isn't going to be run in the browser (e.g. tkinter) and zipping the standard library got it down to about 20MB. There is probably more that could be removed, and there are modules we don't need to build that we currently do. There are other things we can do like set the less frequently used modules to be loaded asynchronously.

While I doubt this will be production ready "soon", I do hope to keep working on fixing bugs and such.