Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Marc Feeley 04 Mar 2020 16:46 UTC
> On Mar 4, 2020, at 11:26 AM, Lassi Kortela <xxxxxx@lassi.io> wrote:
>
> I didn't find an existing threads survey in John's document repo, but he has a futures spec inspired by SRFI 18: <https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/FuturesCowan.md>.
A quick look gives me the feeling that this is very close to SRFI-18 (with some SRFI-21 things added) but using a different name (future-… instead of thread-…). So I don’t see the point in going in that direction, rather than using SRFI-18 as a basis and extending it with new operations. But then again these new operations are probably going to be more controversial than the established SRFI-18, so why not simply put up SRFI-18 for adoption, and then have a separate document with the extensions?
Scheme would greatly benefit from having a basic set of threading primitives that can be built upon… “basic” but still clean and extensible… indeed SRFI-21 is an extension of SRFI-18 with priorities (which I would expect to be controversial due to the absence of priorities in some thread systems).
Marc