[Python-ideas] Re: Python WebAssembly Support

2020-06-16 Thread Kyle Stanley
> But my question is why not to apply all this patches to `CPython` to be able to compile `CPython` on the Web ? > Patches to CPython seems pretty straightforward ... In order for an existing project to even be considered as a patch for CPython as an addition to the standard library, it typically

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Wes Turner
Here are the conda-forge/python-feedstock CPython patches: https://github.com/conda-forge/python-feedstock/tree/master/recipe/patches They're specified in meta.yml: https://github.com/conda-forge/python-feedstock/blob/master/recipe/meta.yaml Patches could probably be included e.g. only for a WASM

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Wes Turner
conda-forge builds for ARM64 now ("miniforge"). Maybe someday conda-forge will build packages for WASM, too. The pyiodide work would probably translate well. There's a version of JupyterLab compiled to WASM w/ all of pyiodide called 'Jyve' that runs totally in the browser... Latest Chrome support

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Eric V. Smith
On 6/15/2020 5:11 PM, redrad...@gmail.com wrote: The question is why not to apply all this patches to CPython to be able to compile CPython on the Web ? Because that will cause an ongoing support burden for an unknown value. What's wrong with keeping the patches separate? Eric __

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Dan Sommers
On Monday, June 15, 2020, at 16:03 -0500, redrad...@gmail.com wrote: Thanks, but I know about this implementation ... But my question is why not to apply all this patches to `CPython` ... And my question is: are *you* prepared to develop, test, maintain, and support this for the next N

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread redradist
The question is why not to apply all this patches to CPython to be able to compile CPython on the Web ? ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Joao S. O. Bueno
Thre are already projects that build Python using Web Assembly - But as far as I know, these do not have a good interface with the document DOM. https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/ Maybe you'd like to take a look at Brython instead - it i

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread redradist
Thanks, but I know about this implementation ... But my question is why not to apply all this patches to `CPython` to be able to compile `CPython` on the Web ? https://github.com/iodide-project/pyodide https://github.com/dgym/cpython-emscripten Patches to CPython seems pretty straightforward ...

[Python-ideas] Re: Python WebAssembly Support

2020-06-15 Thread Matthew Einhorn
On Mon, Jun 15, 2020 at 4:46 PM wrote: > Hi all, > > I love Python, but as soon as I need to do something in browser I have to > use ugly JavaScript !! > > Is there any future plans support for compiling CPython to WebAssembly > using Emscripten ? > There is already a project working on this: ht