Why is python not written in C++ ?
Gregory Ewing
greg.ewing at canterbury.ac.nz
Sat Aug 7 03:33:44 EDT 2010
Lawrence D'Oliveiro wrote:
> at one
> time there was an experiment to make the kernel compilable with a C++
> compiler, without actually using any C++ features. The result: they lost
> about 10% in speed. That was enough to put the kernel developers off taking
> the experiment any further.
FWIW, certain parts of the Darwin kernel are written in a
carefully-selected subset of C++. So Apple evidently think
that it makes sense to use some C++ in a Unix kernel under
some circumstances.
--
Greg
More information about the Python-list
mailing list