Is anyone else interested in using uwsgi + pypy? My cffi plugin, based on
the older pypy plugin but with the potential to also work in CPython, is
working fairly well now in ordinary WSGI mode, with --mount=/app=hello.py
support.

https://github.com/unbit/uwsgi/pull/2170

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.
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to