Re: Toy asynchronous implementation

Liste des GroupesRevenir à cl scheme 
Sujet : Re: Toy asynchronous implementation
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.scheme
Date : 30. Sep 2024, 00:34:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdco5e$1tmdr$10@dont-email.me>
References : 1
User-Agent : Pan/0.160 (Toresk; )
On Sun, 29 Sep 2024 16:56:46 -0400, Dmitri Volkov wrote:

Wrote a toy implementation of asynchronous programming using
continuations.

Continuations can be used to implement

  * coroutines
  * loop constructs
  * exceptions

but not

  * arbitrary gotos.

They truly are the universal control construct!

I implemented them in GXScript <https://bitbucket.org/ldo17/gxscript/>,
which is my attempt to create a more modern PostScript derivative (sans
the graphics API), with proper lexical binding and some conveniences to
try to make stack-based programming a little less error-prone.

Date Sujet#  Auteur
29 Sep 24 * Toy asynchronous implementation2Dmitri Volkov
30 Sep 24 `- Re: Toy asynchronous implementation1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal