[pypy-dev] Feedback on Graduate School Research Idea Using Pypy

yun bao dayunbao at gmail.com
Tue Nov 12 17:26:16 EST 2019


I took a look at PyPyJS.  I also spoke with some folks at Mozilla, and have
become very interested in WebAssembly.  I think having WebAssembly as a
target for RPython would be very useful.  Based on what I've learned
recently, it should be possible to write an interpreter in RPython,
translate it to C, then use Emscripten to compile that to WebAssembly.
However, if there was a WebAssembly backend for RPython, it would be
possible to build interpreters than run directly in the
browser (potentially even PyPy.).  That seems like an avenue worth
investigating, doesn't it?  I think while doing that, it would be worth
getting RPython compatible with Python 3.  By the way, these are things I'm
thinking about doing myself, not recommendations to any of you.  I'm still
working on a solid thesis idea for my Master's.

On Sat, Nov 9, 2019 at 12:25 AM Yury V. Zaytsev <yury at shurup.com> wrote:

> Maybe you should start by having a look at PyPyJS and then exploring
> WebAssembly:
>
> https://github.com/pypyjs/pypyjs
>
> Sent from my iPad
>
> On 9. Nov 2019, at 03:40, yun bao <dayunbao at gmail.com> wrote:
>
> 
> Hi,
>
> I'm planning to go to grad school for a Master's.  I'm thinking about
> researching something related to getting Python running in a web browser.
> All of the current implementations that allow you to do that either
> transpile Python to JavaScript ahead of time, or do some kind of on-the-fly
> conversion from Python to JavaScript.  I'd like to write an actual Python
> engine that will run in the browser.  As I've been mulling over this idea,
> I read about Pypy.  Given my limited knowledge of this domain (programming
> language engines that run in the browser) and the exact nature of the
> problem, Pypy seems like the best route to achieving this.  I'm still very
> much in the early stages of fleshing this idea out, and besides the typical
> undergraduate Programming Language class, I haven't done much in the way of
> programming language design or anything compiler related.  So I have A LOT
> to learn.  But I was hoping some of you who are Pypy experts could give me
> a bit of advice on the feasibility of what I'm considering.
>
> Thank you,
>
> Andrew
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20191112/2b66b54d/attachment.html>


More information about the pypy-dev mailing list