I'm still in the initial information gathering phase of my thesis. So I
expect my thesis idea (which is admittedly rather vague at this point) to
change a lot as I learn more about the domain. However, as I'm applying to
a graduate program outside of my home country, the application deadline is
December 1st. So, I don't have a lot of time to refine the idea.
My original idea was to use as little JavaScript as possible. At a bare
minimum, I envision not needing to translate Python to JavaScript in some
way, which is how most projects I've seen have managed to get Python
running in a browser. The long term goal is having a Python engine running
in a web browser. So, Python is actually executed as Python (or whatever
Python is normally executed as under the hood), and not subjected to some
convoluted process that turns it into JavaScript.
I'm thinking the best Python implementation for use in a browser would be
PyPy, since it uses JIT compilation. I'm not sure that the whole of the
Python standard library will ever be available for use in a browser,
though. I think, as a proof of concept, just getting a Python engine
running in a browser, even if only a small subset of the standard library
is available, and playing nice with a rendering/layout engine, would be a
kind of success.
The PyPy folks are currently working on sandboxing PyPy (
https://pypy.readthedocs.io/en/latest/sandbox.html). It seems like there
might be a few research opportunities just in the security related aspects
of running Python in a browser.
Thank you for your input, Boris. If you, or anyone else, have any more
information or advice to share, I'd love to hear it.
Andrew
> _______________________________________________
> dev-tech-js-engine mailing list
>
dev-tech-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-tech-js-engine
>