Gentoo Archives: gentoo-dev

From: Dirkjan Ochtman <djc@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Cobra as a Python replacement for portage infra...
Date: Tue, 23 Nov 2010 07:25:08
Message-Id: AANLkTimOnNBVeJf2BiEhfkyZgJwJp-a6CT7wwYnNY1z_@mail.gmail.com
In Reply to: [gentoo-dev] Cobra as a Python replacement for portage infra... by Branko Badrljica
1 On Tue, Nov 23, 2010 at 09:52, Branko Badrljica <brankob@××××××××××.com> wrote:
2 > My question is, could existing Portage infrastructure be ported to such
3 > language with minimal effort and would it be worthwile to even try ?
4
5 I'm guessing not.
6
7 > There are many operations that now take portage ages to complete, so it
8 > seems that this could be benefitial...
9
10 It seems unlikely that just porting Portage to another language would
11 yield a faster implementation soon. Instead, one should focus on
12 identifying bottlenecks in Portage and look at ways to solve them. And
13 if you really want a faster language implementation, maybe look into
14 Unladen Sparrow (slated to be merged into Python 3.3) or PyPy.
15
16 > Has anyone of Pythonistas tried to give Cobra a look or two ?
17
18 No. And I don't really think this question is very on-topic for gentoo-dev.
19
20 Cheers,
21
22 Dirkjan