Is anyone else interested in using uwsgi + pypy? My cffi plugin https://github.com/unbit/uwsgi/pull/2170 is working fairly well now in ordinary WSGI mode, with --mount=/app=hello.py support.
I spent a while trying to port uwsgi's experimental asyncio loop over to pypy using pypy's builtin greenlets. In this mode an external event loop drives uwsgi's i/o.The uwsgi async API demo https://github.com/unbit/uwsgi/blob/master/tests/websockets_chat_async.py was enough to get working with continulets, but I mostly got segfaults trying to rewrite the more complicated and experimental asyncio event loop "asyncio.c" to an "asyncio.py" using pypy's greenlets. So I gave up on async for now. I'm developing against a nightly build of pypy Python 3.6.9 (d011d093933c, May 20 2020, 01:00:25), PyPy 7.3.2-alpha0.
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev