On Sun, 30 Sep 2001, Guido van Rossum wrote: > > > That may be Perl's philosophy. In Python, file and network ops are > > > purely a library issue. > > I don't mean to sound stupid, but if you don't have file ops, how do > > you open the library which implements them? > In Python, the bootstrap operation here is the IMPORT opcode.
In Ruby, * the "File" class is linked statically to the interpreter * the operation for loading a library is in the "Kernel" module, also linked statically * "TCPSocket" and such are provided by dynamic libraries * no opcode is even remotely IO-related. The fanciest you can find may be the regexp-literal. ________________________________________________________________ Mathieu Bouchard http://hostname.2y.net/~matju
