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 <dayun...@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@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to