rthz | 2 months ago | on: How we made Python's packaging library 3x faster
rthz's comments
rthz | 5 months ago | on: Tauri binding for Python through Pyo3
rthz | 6 months ago | on: Noise cancelling a fan
rthz | 10 months ago | on: Audiobookshelf: Self-hosted audiobook and podcast server
rthz | 2 years ago | on: The Eval Game
Are you getting an HTTP status other than 200 or the domain name not being resolved?
rthz | 2 years ago | on: WASM: Big deal or little deal?
Still I agree with your other comments, and in particular not being able to share caches in the browser is very unfortunate (but understandable).
rthz | 4 years ago | on: Functools – The Power of Higher-Order Functions in Python
rthz | 4 years ago | on: Pyodide: Python for the Browser
rthz | 4 years ago | on: Pyodide: Python for the Browser
In most places where performance matter Python packages would be using either C extension, Cython or numba to get near native performance. Pyodide is able to build those packages (except for numba). So overall it's currently 3 to 5 slower than native Python (which uses C extensions). See detailed benchmarks in https://hacks.mozilla.org/2021/04/pyodide-spin-out-and-0-17-...
rthz | 4 years ago | on: Pyodide: Python for the Browser
For inline code, yes it would be doable someone would need to continue https://github.com/pyodide/pyodide/pull/692
For examples, I'll respond in the Pyodide issue where you commented.
rthz | 4 years ago | on: Pyodide: Python for the Browser
Yes, we are working on adding more examples.
Well you need to be able to serve static files. So if you are building locally you need to start a webserver, otherwise you can use the JsDelivr CDN.
Memory leaks can happen if you translate objects between Python and JS. So of it is unavoidable because it's difficult to know when to destroy Python objects from JS vice versa, but lots of work on it has been done in the 0.17 release with more to come in 0.18
Why do you find the example misleading?
rthz | 4 years ago | on: Pyodide: Python for the Browser
rthz | 4 years ago | on: Pyodide: Python for the Browser
rthz | 4 years ago | on: Pyodide: Python for the Browser
(I'm one of the maintainers)
rthz | 4 years ago | on: Pyodide Spin Out and 0.17 Release