Re: [Scheme-reports] WG1 Scheme as a language for CS1
Alaric Snell-Pym 10 May 2011 08:53 UTC
On 05/09/11 19:09, Arthur A. Gleckler wrote:
> I also prefer CSP when writing programs, but it makes sense to include the
> most fundamental mechanisms, e.g. at least mutexes and condition variables.
> As Jeronimo points out, they are the primitives out of which higher-level
> abstractions like CSP can be implemented.
They *can* be, but it's not always the most efficient way. So, yeah,
fine for pedagogical purposes, but for real-world programming, native
support for mailboxes of one kind or another would be Real Nice. They're
a more robust programming model than shared-state-protected-by-locks,
too - harder to make subtle hard-to-find-let-along-debug errors. Still
not impossible, mind ;-)
ABS
--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports