Emma Smith

Results 305 comments of Emma Smith

There are also some good benchmarks in the python performance suite. https://github.com/python/performance/tree/master/performance/benchmarks (see bm_json_loads.py and bm_json_dumps.py).

I'll take a look at that some time this weekend. FWIW, it seems that there is a huge performance hit on Windows. I ran `pip install .` and ran the...

Sorry for the delay, I ended up having to build from source since I am running Python 3.7, and I had to figure out that yajl doesn't support 3.7 (Pipenv...

I would love to work on WASI! Unfortunately, I'm not sure how we'd do that :/ We would need to either 1) write an implementation of pthreads based on webworkers...

That could work. However, I also know that WASI libc itself is compiled as single threaded, so I'm not sure if that could cause any issues. Would be interesting to...

Ok I think we'd also need to maybe rebuild wasi-libc even if we had pthread stubs. See this comment and the discussion here: https://github.com/WebAssembly/wasi-libc/issues/209#issuecomment-665962065

I think that is probably the best option, I've been toying with that idea in my head for a bit. I think it would probably require changes elsewhere as well....

Oh yeah when I say patches I mean patches in the "changes that would get upstreamed". They would live temporarily as patches, as I expect the changes to be more...

Oh woops, link to asyncify: https://emscripten.org/docs/porting/asyncify.html

That sounds promising! Though honestly in the near and probably medium term, it might be good to just run WASM Python in a webworker and use sharedarraybuffer to communicate with...