Jump to content

Talk:History of the Scheme programming language

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 99.29.247.230 (talk) at 19:13, 15 November 2009 (Material deleted from "Carl Hewitt, the Actor model, and the birth of Scheme": fixed typos). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Why an article on Scheme's history?

This stub article was born of my work on Scheme (programming language). As a Schemer I've been vaguely aware of much of this for some time, but as I've read that various articles on related subjects and external materials over the past few days in writing the Scheme article I've become aware that there's a lot of information scattered around but it isn't reflected anywhere on Wikipedia.

Writing computer history is fun because it's recent enough for most of the actors to still be around and commenting on their earlier work, most of them are academics who have spent their entire life publishing their thoughts and write with a reasonable degree of candor and considerable historical insight. There's bags of material and it cries out to be written about. --TS 19:50, 15 October 2009 (UTC)[reply]

Thank you very much for this great article!
Scheme history is particularly fascinating because it served as a vehicle for introducing a plethora of concepts (lambda calculus and formal semantics, closures, continuations and CPS, ...) to a wide audience, bridging the theoretic and pragmatic worlds; it's also one of the finest examples of a hacker culture product in origins. Piet Delport (talk) 2009-10-20 05:56


Material deleted from "Carl Hewitt, the Actor model, and the birth of Scheme"

Some of the material below was deleted from the article.171.66.33.22 (talk) 23:10, 26 October 2009 (UTC)[reply]

(Deleted for readability; see the diff instead. Piet Delport (talk) 2009-10-28 10:13)

I think it would be great if this article could continue to focus on what Sussman and Steele got out of their investigation of the Actor model, and not on the obvious shortcomings of Scheme if one tries to view it as in any way a serious attempt to produce an alternative, which it isn't. --TS 17:17, 27 October 2009 (UTC)[reply]

The published quotations shed considerable light on the history. How can the peoples' intent be determined 35 years after the fact? And how can how it changed with time be tracked? 171.66.86.186 (talk) 00:48, 28 October 2009 (UTC)[reply]

The quotations shed light on the history of Hewitt's work and opinions, but that is not the article's subject. Piet Delport (talk) 2009-10-28 10:49

It's too bad that the above history was deleted. (Maybe someone who knows how could restore it.) It had good information on the early history of Scheme particularly with respect to the following:

  • How hairy control structure was incorporated into Conniver and then propagated to Scheme although rejected by people like Pat Hayes and Carl Hewitt.
  • The controversy over whether actors were just the lambda calculus in disguise.

I wonder if there are other topics like the above that should be included.171.66.109.31 (talk) 23:20, 29 October 2009 (UTC)[reply]

What Hayes or Hewitt thought of the construct is not relevant to this article, unless it touched Scheme's history somehow.
There is little evidence for the controversy you contend: Sussman and Steele made a claim about the subset of actors they implemented, not about the actor model in general, and specifically excepted that cells and serializers are not isomorphic to lambda calculus closures. Hewitt agreed with and confirmed both these observations. (See The First Report on Scheme Revisited.)
Piet Delport (talk) 2009-11-02 20:29
Actually The First Report on Scheme Revisited Higher-Order and Symbolic Computation 1998 says that Hairy Control Structure did play an important role in the history of Scheme. Sussman thought that it was the answer to the control structure issues in Planner whereas Hewitt was skeptical of Hairy Control Structure and thought Actors were the answer to the control structure issues. This controversy is why Hayes and Hewitt published what they did at the time. Using re-invocable continuations, Scheme incorporated the Hairy Control Structure of Conniver thereby perpetuating the controversy. The interesting result that emerged from the Actor work was that Hairy Control Structure is not needed: ordinary message passing is a better solution to the control structure issues that arose in Planner. However, Scheme has pursued Hairy Control Structure to the bitter end.
The thrust of the initial published work on Scheme was that Actors were just the lambda calculus in disguise. The fact that Actors implemented the lambda calculus was no surprise since both Sussman and Hewitt had taken a course from Peter Landin on the lambda calculus at MIT. Of course, cells are serialized Actors. Unfortunately, Scheme never developed any reasonable way to implement serialized Actors.171.66.109.173 (talk) 01:21, 3 November 2009 (UTC)[reply]
The inventors wanted to generalize the lambda calculus using serialized Actors.171.66.109.180 (talk) 02:36, 3 November 2009 (UTC)[reply]
Look, you're missing the point. It does not matter at all what Hewitt (or anyone else) thinks about first-class continuations versus actor message passing: this article is simply not concerned with their relative merits.
If you think that the thrust of Sussman and Steele's work was that actors were just the lambda calculus in disguise, you must be grossly misreading or misunderstanding it. They were very explicit about Scheme not attempting to implement the full actor model, and carefully point out the exception of cells and serializers, as I pointed out above. They also clearly explain how "side effects, multiprocessing, and synchronization of processes [...] are very hard, if not impossible, to model using the substitution semantics of the lambda calculus, but [are] easily incorporated in other semantic models, including the environment interpreter and, perhaps more notably, the ACTORS model."
I cannot imagine how you could read this and conclude that they're implying actors and lambda calculus are the same. Please, give this a rest.
Piet Delport (talk) 2009-11-03 11:32

It is important not to confuse the beginning of a controversy with how it ultimately turned out. The birth of Scheme was marked by two important controversies:

  • Whether Actors are just the lambda calculus in disguise People who were at MIT in 1975 report that there was even talk of Actors being a "fraud" because they were alleged to be just the lambda calculus in disguise. (Polities at MIT could be very fierce.) In later publications, it seems that Sussman and Steele backed off on this claim.

70.231.250.190 (talk) 17:34, 3 November 2009 (UTC)[reply]

Scheme: An Interpreter for Extended Lambda Calculus. MIT AI Lab Memo 349. December 1975 missed the crucial importance of Actor message arrival ordering. Instead they have primitives like START!PROCESS, STOP!PROCESS and EVALUATE!UNINTERRUPTABLY . 76.254.235.105 (talk) 21:52, 3 November 2009 (UTC)[reply]
According to Common sense for concurrency and strong paraconsistency using unstratified inference and reflection arXiv:0812.4852, "In the 1960‟s at the MIT AI Lab, a culture developed around “hacking” that concentrated on remarkable feats of programming. Growing out of this tradition, Gerry Sussman and Guy Steele decided to try to understand Actors by reducing them to machine code that they could understand and so developed a 'Lisp-like language, Scheme, based on the lambda calculus, but extended for side effects, multiprocessing, and process synchronization ' [Sussman and Steele 2005] ."
The Actor model was addressing two interrelated issues: control structure and message order arrival. Unfortunately, Scheme did not successfully address either issue.76.254.235.105 (talk) 21:54, 8 November 2009 (UTC)[reply]

The quotation deleted from the article published in ActorScript(TM): Industrial strength integration of local and nonlocal concurrency for Client-cloud Computing ArXiv 0907.3330 is as follows:

[Sussman and Steele 1975] mistakenly concluded “we discovered that the 'Actors' and the lambda expressions were identical in implementation.” The actual situation is that the lambda calculus is capable of expressing some kinds of sequential and parallel control structures but, in general, not the concurrency expressed in the Actor model. On the other hand, the Actor model is capable of expressing everything in the lambda calculus and more.

76.254.235.105 (talk) 18:32, 1 November 2009 (UTC)[reply]

I can only repeat what has already been said.
  • You keep alleging the existence of a controversy, that Sussman and Sussman claimed that actors were "lambda calculus in disguise" (and later "backed off" from this in later publications), when in reality, from the very first Scheme memo, they were very clear and specific about the lambda calculus's shortcomings compared to the actor model, in contradiction to what you're claiming.
  • You keep pointing out one or other feature of Scheme that does not resemble the actor model, completely ignoring the fact that they were never intended to.
    1. The lack of cell and serializer actors, as discussed above, was intentional and explicitly noted.
    2. The capturing of first-class continuations was and still is very widely recognized as useful, and certainly not a case of "perpetuating the controversy" as you put it.
    3. The original multiprocessing primitives (START!PROCESS, STOP!PROCESS and EVALUATE!UNINTERRUPTABLY) had nothing to do with the actor model or its concurrency model, but were instead more or less accidental features of the original interpreter (and by the authors' own later description "flat-out wrong").
I don't know what point you're trying to make with ActorScript paper quote, as it either accidentally or deliberately misquotes AIM-349 without necessary context: the attempted correction, that lambda calculus cannot model the concurrency expressed in the actor model, is in fact exactly what AIM-349 states itself!
As a last point: if you truly care about this topic, please consider registering accounts , as it is difficult to hold a conversation with an unknown number of anonymous parties.
Piet Delport (talk) 2009-11-05 21:54
There were two controversies: (1) the usefulness of hairy control structure and (2) whether Actors were just the lambda calculus. [Sussman and Steele 2005] went around in circles about these issues contradicting itself at multiple points. Hewitt, Hayes, etc. published criticism of hairy control structure. So incorporating re-invocable continuations in Scheme was certainly perpetuating the controversy. The START!PROCESS, STOP!PROCESS and EVALUATE!UNINTERRUPTABLY primitives were part Sussman and Steele's reductionist attempt to address the message arrival order issue. It is unclear where these primitives fit into their summarizing claim at the end of their paper that “we discovered that the 'Actors' and the lambda expressions were identical in implementation.” 76.254.235.105 (talk) 21:54, 8 November 2009 (UTC)[reply]

It seems very strange. On one hand, Scheme incorporated re-invocable continuations that go beyond Actor message passing. On the other hand, Scheme did not provide for message arrival order that is part of Actor message passing. 68.170.176.166 (talk) 22:44, 8 November 2009 (UTC)[reply]

You're repeating yourself, i'm repeating myself... i still see no evidence for any "controversy", and still do not think you entirely understand the text you're quoting (as i explained above).
If you want to opine about what you perceive as being strange about Scheme's design choices, you can do it on your user page, a blog, or similar: Wikipedia is not for personal commentary or opinions. Piet Delport (talk) 2009-11-12 21:05
According to work published at the time referenced above and also including Semantics of Communicating Parallel Processes , Viewing Control Structures as Patterns of Passing Messages and Synchronization in actor systems, the following controversies were prominent in the initial development of Scheme:
  • hairy control structure versus Actor message passing
  • EVALUATE!UNINTERRUPTEDLY versus message arrival ordering
This is what "Hewitt is flaming about." [Sussman and Steele 1976] But now, on the basis of no evidence, you claim that the controversy never happened.99.29.247.230 (talk) 19:02, 15 November 2009 (UTC)[reply]