Gentoo Archives: gentoo-user

From: Antonio Quartulli <quartulli@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]
Date: Sun, 16 Dec 2007 20:55:43
Message-Id: 47658DD5.4050609@atsystem.org
In Reply to: Re: [gentoo-user] Python vs C++ [was: Gentoo Rules] by "Hemmann
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4
5
6 Hemmann, Volker Armin ha scritto:
7 > On Sonntag, 16. Dezember 2007, Randy Barlow wrote:
8 >> David Relson wrote:
9 >>> IMHO, python is a very nice object oriented language and C++ is no
10 >>> better (unless you need particular features of the language). I
11 >>> suspect C++ runs somewhat faster, but that's not the issue here. As I
12 >>> understand, portage needs to deal with lots of special cases and
13 >>> exceptions to the general rules for updating package. Special cases
14 >>> and exceptions always lead to complications and messy code. Switching
15 >>> languages doesn't help a situation like this.
16 >> C++ is most certainly going to yield faster programs since it is a
17 >> machine compiled language and python is interpreted. But that's not the
18 >> idea behind portage. It's all about using the right tools for the job.
19 >> I do all my research code in C++ because I need good memory management
20 >> and I need speed. But python is far easier to code in, doesn't need to
21 >> be compiled, and is pretty dang elegant. It's also pretty platform
22 >> independent, which is also nice.
23 >>
24 >> --
25 >> Randy Barlow
26 >> http://electronsweatshop.com
27 >
28 > one reason pro phyton and contra c and c++ has always been: segfaults.
29 >
30 > And with c++ comes another one: abi changes.
31 >
32 > Just think about this horror: gcc/libstdc++ update and your package manager
33 > stops working....
34
35 Why don't a python upgrade break your package manager??
36
37 - --
38 Antonio Quartulli,
39 @System President www.atsystem.org
40 Student of Computer Science at University of Pisa
41 Web: www.quartulli.org
42 GPG Key: www.quartulli.org/aquartulli_0×41A1F50B.asc
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2.0.7 (GNU/Linux)
45 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
46
47 iQEVAwUBR2WN1JUBe9lBofULAQJOZwf/b42oKASq7T3LPChNub/L48Sdc4frpTuT
48 zNov1laSH3Wswax1UtFg+2oGxwJga3tzd4SX6F0/E5LhQE9BBSX3YGwgKy2HANsB
49 ban2rZssT/IADSK8PE6rGM2SmBm46iGOJNDcTfw/K014FC68ZoA+giK63KTpcQ70
50 j789xlfDQQKrTitR0uawwPiZAE7mQ2wqgTozInOecDxEiNXV6HOOdNeqOgofGLOM
51 R9XfpURFsaj72cMpqlW/hnuQQAf5hHq1GDBoWDpiETC3IDZNLkXI2hgoy6oBxybB
52 VqTCUdfInUsMTlXARJgebr96Yl6x4XXafZZTbvncN0MQTCZ1WCQaUQ==
53 =sG2L
54 -----END PGP SIGNATURE-----
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules] Matan Peled <chaosite@×××××.com>