osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About the implementation of del in Python 3


Steve D'Aprano wrote:
> That implies that it is impossible to implement Scheme:
> 
> - using a programming language where variables and objects may move during their
> lifetime;
> 
> - or using a computing device without conventional memory, e.g. implementing
> Scheme using hydraulics, DNA computing, clockwork, or emulated in the human
> brain.

Only if you interpret the word "address" very narrowly.

By the way, even the low-level notion of "address" that C
programs deal with is, on most modern hardware, a *virtual*
address that goes through a level of translation before it
identifies a physical set of transistors, and that mapping
can change as stuff gets paged in and out. So it's already
an abstract concept to some extent.

-- 
Greg