Email list hosting service & mailing list manager

Re: State of Scheme in the Browser Lassi Kortela (31 Jul 2019 16:36 UTC)
Re: State of Scheme in the Browser John Cowan (31 Jul 2019 18:46 UTC)
Re: State of Scheme in the Browser Lassi Kortela (31 Jul 2019 18:55 UTC)
Re: State of Scheme in the Browser John Cowan (31 Jul 2019 19:20 UTC)
Re: State of Scheme in the Browser Lassi Kortela (31 Jul 2019 20:14 UTC)
Re: State of Scheme in the Browser Amirouche Boubekki (31 Jul 2019 20:49 UTC)
Re: State of Scheme in the Browser John Cowan (31 Jul 2019 20:51 UTC)
Re: State of Scheme in the Browser Lassi Kortela (31 Jul 2019 20:55 UTC)
Re: State of Scheme in the Browser John Cowan (31 Jul 2019 21:00 UTC)
Re: State of Scheme in the Browser Lassi Kortela (31 Jul 2019 21:21 UTC)
Re: State of Scheme in the Browser John Cowan (31 Jul 2019 22:03 UTC)
Re: State of Scheme in the Browser Lassi Kortela (01 Aug 2019 09:40 UTC)
Re: State of Scheme in the Browser Amirouche Boubekki (01 Aug 2019 11:25 UTC)
Re: State of Scheme in the Browser John Cowan (01 Aug 2019 14:18 UTC)
Re: State of Scheme in the Browser Lassi Kortela (02 Aug 2019 10:24 UTC)
Re: State of Scheme in the Browser Amirouche Boubekki (02 Aug 2019 19:19 UTC)
Re: State of Scheme in the Browser Lassi Kortela (02 Aug 2019 20:42 UTC)
Re: State of Scheme in the Browser Arthur A. Gleckler (02 Aug 2019 00:55 UTC)
Re: State of Scheme in the Browser John Cowan (02 Aug 2019 01:17 UTC)
Re: State of Scheme in the Browser Arthur A. Gleckler (02 Aug 2019 01:28 UTC)
Re: State of Scheme in the Browser John Cowan (02 Aug 2019 02:28 UTC)
Re: State of Scheme in the Browser Lassi Kortela (01 Aug 2019 09:48 UTC)

Re: State of Scheme in the Browser Lassi Kortela 01 Aug 2019 09:48 UTC

> I have believed for a long time that goroutines (which can be
> implemented on top of SRFI 18) are in some sense the Right Thing.  See
> <http://wiki.call-cc.org/eggref/5/gochan>.  That way you can get
> shared-almost-nothing (with some self-discipline) with the intra-process
> analogue of pipes, which are a very nice way to provide concurrency.

BTW, since you like that stuff you might enjoy designing a Scheme
equivalent for Python's ASGI (an asynchronous version of the venerable
WSGI abstraction). It's for next generation HTTP which features stream
multiplexing in-protocol, but the abstraction is more generic than just
HTTP.

Here's how its applications look:
<https://github.com/simonw/asgi-cors/blob/master/asgi_cors.py>. If you
start reading at the line "async def app_wrapped_with_cors(scope,
recieve, send):" (yes, Python has an async keyword now) you'll note that
the HTTP request handler function gets "receive" and "send" procedures
that it can call at will. This is by contrast with the synchronous WSGI
in which the handler just got a request object and returned a response
object.

I've promised to write a SRFI about a synchronous WSGI equivalent soon,
with assistance from Peter and Arthur, but I'll gladly leave the more
complex asynchronous version to someone who enjoys concurrent stuff :)