Can a low-level programmer learn OOP?
BJörn Lindqvist
bjourne at gmail.com
Fri Jul 13 21:49:31 EDT 2007
On 7/13/07, John Nagle <nagle at animats.com> wrote:
> You can sometimes get better performance in C++ than in C, because C++
> has "inline". Inline expansion happens before optimization, so you
> can have abstractions that cost nothing.
C99 has that too.
> Python is a relatively easy language, easier than C++, Java,
> or even Perl. It's quite forgiving. The main implementation,
> CPython, is about 60x slower than C, though, so if you're trying
> to implement, say, a rapidly changing digital oscilloscope display,
> the result may be sluggish.
But if the data for that oscilloscope comes from an external device
connected via a serial port, execution speed won't matter.
--
mvh Björn
More information about the Python-list
mailing list