On Tue, Mar 18, 2003, Zooko wrote:
No -- capabilities (as envisioned for Python) are references. Whether a reference to an object, to a bound method, or to a function doesn't matter.
Note that it isn't that capabilities are "like" references, it is that capabilities *are* references. Every reference is a capability. Every capability is a reference.
<blink> Are you saying that an int is a capability? -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ Register for PyCon now! http://www.python.org/pycon/reg.html
Aahz <aahz@pythoncraft.com>:
<blink> Are you saying that an int is a capability?
Some integers could confer quite powerful capabilities. 42, for example, apparently gives us the capability of knowing the answer to the ultimate question of life, the universe and everything, which has to be a pretty awesome thing to know! All we need now is a capability which gives us access to the question... Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
participants (2)
-
Aahz
-
Greg Ewing