at:tutorial:actors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:actors [2008/11/03 10:00] – added tvcutsem | at:tutorial:actors [2009/01/29 21:19] – elisag | ||
---|---|---|---|
Line 138: | Line 138: | ||
<note warning> | <note warning> | ||
- | A word of warning: isolates | + | Isolates |
< | < | ||
def ==(other) { | def ==(other) { | ||
Line 144: | Line 144: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | On a related note, it is good practice to consider isolates as // | ||
</ | </ | ||
Line 169: | Line 171: | ||
>>4 | >>4 | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | Since AmbientTalk 2.12 the interpreter is smart enough to figure out the lexically free variables of an isolate itself. If no variables are explicitly listed, the interpreter will try to figure out which lexically free variables it should implicitly copy. Unlike explicitly listed variables (like '' | ||
+ | </ | ||
===== Futures ===== | ===== Futures ===== | ||
Line 311: | Line 317: | ||
o< | o< | ||
</ | </ | ||
+ | |||
+ | When a message send is annotated with the '' | ||
+ | |||
+ | < | ||
+ | o< | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | More details about the '' | ||
+ | </ | ||
Finally, it is possible to first invoke '' | Finally, it is possible to first invoke '' | ||
Line 417: | Line 433: | ||
The key to our conditional synchronization is that the '' | The key to our conditional synchronization is that the '' | ||
+ | |||
+ | The complete source code of the above example can be found in the file '' | ||
===== Actor Mirrors ===== | ===== Actor Mirrors ===== | ||
Line 461: | Line 479: | ||
</ | </ | ||
- | If both the '' | + | If both the '' |
- | Recall that isolates could be given selective | + | Recall that isolates could be given access to their enclosing lexical scope either |
< | < |
at/tutorial/actors.txt · Last modified: 2020/02/05 21:26 by elisag