[Python-ideas] A tuple of various Python suggestions
cory at lukasa.co.uk
Sun Apr 10 14:41:44 EDT 2016
> On 10 Apr 2016, at 01:28, Keith Curtis <keithcu at gmail.com> wrote:
> It didn't seem like WebAssembly would enable access to Numpy. It seems
> doubtful it will be much adopted if it can't access the rich Python
> runtime that might be installed.
I feel like this demonstrates a confusion about how the web ecosystem works.
Browser developers will allow code executing in the browser to access binaries on the host system *over their dead bodies*. Allowing that represents a terrifying security vulnerability. At no point will any sane browser developer allow that.
As it turns out, of course, WebAssembly *would* enable access to NumPy because NumPy could simply be compiled to WebAssembly as well, and distributed along with the Python interpreter and all the other code you’d have to ship.
The TL;DR here is: no web browser will ever allow access to a Python runtime (or any other runtime) that is installed. However, WebAssembly does not have the limitation you’ve suggested.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Python-ideas