No AFAIK attempts. But PyPy in the browser will be great. We could compile PyPy C ++ code in JavaScript using Emscripten and implement JIT in JS in PyPy (which translates to JS, but more importantly emits JS). This can be very fast in fact, as the hot code will eventually be JITed in JS, which is then JITed JS VM.
I have repeatedly raised this idea on the news of hackers, program.reddit, etc., hoping to interest PyPy dev for working together on it. So far, no luck, but I hope it can happen one day.
source share