Re: [Scheme-reports] WG1 Scheme as a language for CS1 Jeronimo Pellegrini (09 May 2011 03:12 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 John Cowan (09 May 2011 16:57 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Jeronimo Pellegrini (09 May 2011 18:06 UTC)
Re: WG1 Scheme as a language for CS1 Arthur A. Gleckler (09 May 2011 18:10 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Jeronimo Pellegrini (09 May 2011 18:34 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Andy Wingo (09 May 2011 21:56 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Ray Dillinger (11 May 2011 03:14 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Alaric Snell-Pym (10 May 2011 09:00 UTC)
Re: [Scheme-reports] WG1 Scheme as a language for CS1 Alaric Snell-Pym (10 May 2011 08:54 UTC)

Re: [Scheme-reports] WG1 Scheme as a language for CS1 Jeronimo Pellegrini 09 May 2011 18:05 UTC

On Mon, May 09, 2011 at 12:55:47PM -0400, John Cowan wrote:
> Jeronimo Pellegrini scripsit:
>
> > The only missing feature from WG1 for me was TCP/IP (cannot even
> > be built on top of anything else) and threads (can be done with
> > continuations, but there's no standard WG1 API to mimic, and I can't
> > do multicore).
>
> WG2 will not have a full sockets implementation, but will provide some
> kind of TCP and UDP APIs.

TCP+UDP is fine! That will be enough to do a lot of things.

> If you'd like to see threads in WG1, it would be nice to provide us with
> some kind of rock-bottom-minimum API; SRFI 18 is huge, and it's far from
> clear to me that mutexes and condition variables are even the right
> abstraction (some kind of CSP would appeal to me much more, but that's
> just me).

Well, I actually think I'll wait for WG2 to standadize something.
(As I said in the other email, it's hard to keep everyone happy, and
I can use stuff from WG2 Scheme also).

I'm not sure which abstraction would be OK, but I do think that mutexes
and condition variables are OK -- everything else can be built on top of
them! The right abstraction would probably depend on the needs of the
user. I teach, and I like to build concepts gradually. But then, someone
else may want an easier or simpler API for WG1...

J.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports