ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: Underscore data hiding (was python development practices?)
by Skip Montanaro other posts by this author
Nov 1 2001 6:09AM messages near this date
Re: Underscore data hiding (was python development practices?) | Re: Underscore data hiding (was python development practices?)
Peter>  On Wed, 31 Oct 2001 18:42:03 -0600, Skip Montanaro <skip@[...].com>
    Peter>  wrote:

    > > Smiley or not, you seem to be trying a bit too hard to compare Python
    > > with C++.  They serve dramatically different audiences.

    Peter>  what are these dramatically different audiences?

Perhaps I should have phrased that "designed for dramatically different
audiences".  Stroustrup designed C++ with the high-performance applications
of his employer in mind (e.g. telephone switching).  He also had C
compatibility in mind.  Guido (or Tim channeling Guido) will likely correct
me if I'm wrong, but I don't think Guido necessarily had high performance or
C compatibility in mind when he designed Python.  He was creating a
scripting language for the Amoeba distributed operating system.  The fact
that Python is "fast enough" for many things you might apply C++ to is in
large part because:

  * the types of applications to which it is applied (frequently interactive
    applications where the user is the slowest part of the system, "glue"
    applications (Paul Rubin's recent comments on horses not withstanding)
    where it provides an integration layer over libraries written in C or
    C++,

  * processor performance has increased "a lot" in the decade since Python's
    first release,

  * productivity gains outweigh (relative) performance loss (programmers are
    relatively expensive, CPU performance relatively cheap)

C++ is also roughly ten years older than Python.  The change in the
computing landscape in that ten-year period (and in the ensuing ten years)
was pretty significant.  The two languages were simply designed in quite
different environments.

Skip

-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Peter Wang
Peter Hansen
Toby Dickenson
Tim Peters
Steve Holden
Steve Holden
Cliff Wells
Tim Peters
Martijn Faassen

Cliff Wells
Cliff Wells
Martijn Faassen
Martijn Faassen
Paul Rubin
Russell E. Owen
Barry A. Warsaw
Martijn Faassen
Peter Wang
Skip Montanaro
John Roth
David Bolen
Peter Wang
Peter Wang
Skip Montanaro
Chris Tavares
Darren Collins
David Bolen
Paul Rubin
Paul Rubin
Peter Wang
F Basegmez
Richard Jones

Richard Jones

Neal Norwitz
Graham Ashton
Peter Wang
Russell E. Owen
Skip Montanaro
Cliff Wells
Hung Jung Lu
Wade Leftwich
Peter Wang
Peter Wang


Peter Wang

Chris Gonnerman
Paul Rubin
Andrew Dalke
Paul Rubin
Luigi Ballabio
Paul Rubin
Tim Peters
John Roth
Paul Rubin
Richard Jones

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved