Gentoo Archives: gentoo-user

From: Randy Barlow <randy@×××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]
Date: Sun, 16 Dec 2007 19:38:33
Message-Id: 47657D6A.7020704@electronsweatshop.com
In Reply to: [gentoo-user] Python vs C++ [was: Gentoo Rules] by David Relson
1 David Relson wrote:
2 > IMHO, python is a very nice object oriented language and C++ is no
3 > better (unless you need particular features of the language). I
4 > suspect C++ runs somewhat faster, but that's not the issue here. As I
5 > understand, portage needs to deal with lots of special cases and
6 > exceptions to the general rules for updating package. Special cases
7 > and exceptions always lead to complications and messy code. Switching
8 > languages doesn't help a situation like this.
9
10 C++ is most certainly going to yield faster programs since it is a
11 machine compiled language and python is interpreted. But that's not the
12 idea behind portage. It's all about using the right tools for the job.
13 I do all my research code in C++ because I need good memory management
14 and I need speed. But python is far easier to code in, doesn't need to
15 be compiled, and is pretty dang elegant. It's also pretty platform
16 independent, which is also nice.
17
18 --
19 Randy Barlow
20 http://electronsweatshop.com
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules] "Hemmann
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules] Matan Peled <chaosite@×××××.com>
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules] "Bo Ørsted Andresen" <bo.andresen@××××.dk>