Re:CoWasm: An alternative to Emscripten, based on Zig (demo:...
by xanthine on Saturday October 29, 2022 @09:09PM
(#33389812)
With regards to differences with 'normal' Python, depending on WASM also means that despite having the same sys.get_int_max_str_digits() = 4300, my local Python can print out (2222*5555 + 5555*2222) in its entirety, while the browser based one can't.
Values that can be set via maxdigits in sys.set_int_max_str_digits(maxdigits) are also limited to size of int in C.
Re:CoWasm: An alternative to Emscripten, based on Zig (demo:...
by williamstein on Saturday October 29, 2022 @11:17PM
(#33390678)
It’s basically the same speed as Pyodide for cpu bound work. It is overall about twice as slow as native Python on the exact same machine. There is a benchmarks folder in the CoWasm git repo with a several dozen benchmarks.
Or 'normal' Python for that matter.