Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-20 Thread Dan Farrell
On Mon, 17 Dec 2007 16:24:01 +0100 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: Which would add an awful lot of complexity and require major design changes in order to gain anything. The beauty of the ebuild format is its simplicity. I don't really think it's worth it. I agree. I have noticed

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Raphael
Hi everyone, I don't think the programming language is the problem here. The problem is that some of Portage architectural decisions have a negative impact on performance. Probably because the developers were focused on minimizing dependencies (i.e. file system based persistence) and

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Hemmann, Volker Armin
*removedlotsofideas* your ideas sound nice on paper. But one strenght of portage and its structures: no matter how hosed your 'data', you can repair it with cp, mv, an emerge sync and a text editor. Which is all not true, if you start using some database crap. Go, look at /var/db/pkg - you

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Bo Ørsted Andresen
On Monday 17 December 2007 14:38:30 Raphael wrote: So, even if Portage was recoded in C++, performance improvements would be marginal and the cost in man-hours would be too high. It would take months before reaching the maturity level Portage has now and all this time could be better spent

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Raphael
On Dec 17, 2007 11:55 AM, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: *removedlotsofideas* ?? your ideas sound nice on paper. But one strenght of portage and its structures: no matter how hosed your 'data', you can repair it with cp, mv, an emerge sync and a text editor. Which is all

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Hemmann, Volker Armin
On Montag, 17. Dezember 2007, Raphael wrote: On Dec 17, 2007 11:55 AM, Hemmann, Volker Armin [EMAIL PROTECTED] wrote: *removedlotsofideas* ?? your ideas sound nice on paper. But one strenght of portage and its structures: no matter how hosed your 'data', you can repair it with cp,

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Raphael
On Dec 17, 2007 12:20 PM, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Monday 17 December 2007 14:38:30 Raphael wrote: So, even if Portage was recoded in C++, performance improvements would be marginal and the cost in man-hours would be too high. It would take months before reaching

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-17 Thread Bo Ørsted Andresen
On Monday 17 December 2007 16:14:24 Raphael wrote: Hey, I made someone laugh today. Good deed of the day: check! :P :) I was unaware of Paludis. Re-reading the thread now, I saw that someone mentioned it. After googling for it, seems a lot of people are fond of it. Why is it not the default

[gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 06:20:38 -0600 Dale wrote: ...[snip]... I read a link provided earlier about Plaudis, (sp?). It seems that Portage has a lot of hacks in it, according to what I read anyway. Is that true? Also, is it being wrote with python hurting portage as for as the program itself?

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Dale
David Relson wrote: On Sun, 16 Dec 2007 06:20:38 -0600 Dale wrote: ...[snip]... I read a link provided earlier about Plaudis, (sp?). It seems that Portage has a lot of hacks in it, according to what I read anyway. Is that true? Also, is it being wrote with python hurting portage as

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 08:05:17 -0600 Dale wrote: David Relson wrote: On Sun, 16 Dec 2007 06:20:38 -0600 Dale wrote: ...[snip]... I read a link provided earlier about Plaudis, (sp?). It seems that Portage has a lot of hacks in it, according to what I read anyway. Is that true?

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
David Relson wrote: IMHO, python is a very nice object oriented language and C++ is no better (unless you need particular features of the language). I suspect C++ runs somewhat faster, but that's not the issue here. As I understand, portage needs to deal with lots of special cases and

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Hemmann, Volker Armin
On Sonntag, 16. Dezember 2007, Randy Barlow wrote: David Relson wrote: IMHO, python is a very nice object oriented language and C++ is no better (unless you need particular features of the language). I suspect C++ runs somewhat faster, but that's not the issue here. As I understand,

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Matan Peled
On 16/12/2007, Randy Barlow [EMAIL PROTECTED] wrote: David Relson wrote: IMHO, python is a very nice object oriented language and C++ is no better (unless you need particular features of the language). I suspect C++ runs somewhat faster, but that's not the issue here. As I understand,

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Albert Hopkins
[...] Just think about this horror: gcc/libstdc++ update and your package manager stops working Hehehehe. Guess what python is linked against (It doesn't have to be linked against libstdc++, but it usually is)? =P CPython is written in C and has no C++ dependencies: $ ldd `which

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Bo Ørsted Andresen
On Sunday 16 December 2007 20:32:58 Randy Barlow wrote: C++ is most certainly going to yield faster programs since it is a machine compiled language and python is interpreted. In this case it's not really significant. The biggest performance hit for a package manager for Gentoo remains I/O no

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Antonio Quartulli
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hemmann, Volker Armin ha scritto: On Sonntag, 16. Dezember 2007, Randy Barlow wrote: David Relson wrote: IMHO, python is a very nice object oriented language and C++ is no better (unless you need particular features of the language). I suspect

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Matan Peled
On 16/12/2007, Antonio Quartulli [EMAIL PROTECTED] wrote: snip And with c++ comes another one: abi changes. Just think about this horror: gcc/libstdc++ update and your package manager stops working Why don't a python upgrade break your package manager?? Also possible, but less

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Hemmann, Volker Armin wrote: one reason pro phyton and contra c and c++ has always been: segfaults. And with c++ comes another one: abi changes. Just think about this horror: gcc/libstdc++ update and your package manager stops working Well segfaults generally indicate bugs in your

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Matan Peled wrote: I see you haven't read the portage source-code. It isn't so elegant... And I'm saying this as someone who likes python and thinks it is generally a Good Idea. No, I definitely have not, but I have done some Python coding in my days. I was referring to the language, not the

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Bo Ørsted Andresen
On Sunday 16 December 2007 22:04:52 Randy Barlow wrote: Bo Ørsted Andresen wrote: In this case it's not really significant. The biggest performance hit for a package manager for Gentoo remains I/O no matter which language you use... Yeah, you are right - although there is one step of an

Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Hemmann, Volker Armin
On Sonntag, 16. Dezember 2007, Randy Barlow wrote: Hemmann, Volker Armin wrote: one reason pro phyton and contra c and c++ has always been: segfaults. And with c++ comes another one: abi changes. Just think about this horror: gcc/libstdc++ update and your package manager stops