Gentoo Archives: gentoo-portage-dev

From: tvali <qtvali@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] DB and binary dependency
Date: Fri, 24 Mar 2006 11:40:51
Message-Id: cea53e3c0603240340y3acf4950q@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] DB and binary dependency by Paul de Vrieze
1 On 24/03/06, Paul de Vrieze <pauldv@g.o> wrote:
2 > On Thursday 23 March 2006 21:38, Gustavo Sverzut Barbieri wrote:
3 > > Cons:
4 > > - it's not the final solution to the problem, as said, interfaces
5 > > would be better... but interfaces would demand much more effort and
6 > > not being automatically generated, would be async and probably
7 > > incorrect at some point
8 >
9 > Interfaces, while nice, would overcomplicate things. They are also not
10 > needed as we have depend atoms.
11 >
12 > Paul
13
14 Interface can be made somewhat automatically checkable.
15
16 For example:
17 void a(int);
18 void b(int, int);
19 void b(int, char);
20
21 Is compatible with:
22 void a(int);
23 void b(int, int);
24
25 And this can be checked automatically - real header must have all
26 headings that interface describes. Microsoft has actually done good
27 work in C# on that topic -- first place where i saw something like
28 that after thinking about it myself :) This MS version is feature of a
29 language, of course, not a feature of compiler. Anyway, that might
30 give an idea.
31
32 I'm actually sure that this all can be calculated up from sourcecode
33 and bindep would be after that a check if cpu didnt calculate
34 something wrong :P Another question, how difficult it is and is it
35 worth the time.
36
37 --
38 tvali
39
40 Measuring programming progress by lines of code is like measuring
41 aircraft building progress by weight. -Bill Gates
42
43 For every complex problem there is an answer that is clear, simple,
44 and wrong. -H L Mencken
45
46 Theory is when you know something, but it doesn't work. Practice is
47 when something works, but you don't know why. Programmers combine
48 theory and practice: Nothing works and they don't know why.
49
50 http://www.eskimo.com/~hottub/software/programming_quotes.html
51 http://www.softwarequotes.com/
52
53 --
54 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] DB and binary dependency Brian Harring <ferringb@×××××.com>
Re: [gentoo-portage-dev] DB and binary dependency Paul de Vrieze <pauldv@g.o>