1 |
Oops, sorry, looks like I mixed replies of two different people on different |
2 |
lists and coupled my answer together in gentoo-portage-dev. |
3 |
I am correcting this now, but first I'll repeat the same disclaimer which I |
4 |
think I need to do more noticable in the write-up. |
5 |
|
6 |
As I stated in the writeup, the "design" discussed is a simplistic model only |
7 |
relevant for the prototype which goal was basically to demonstrate |
8 |
capabilities of a particular language and nothing else. |
9 |
Thus note, all the comments below concern this hypothetical design I used in |
10 |
language demonstration, but that will probably be rethought for the real |
11 |
design (and there was just a tiny bit more on that on gentoo-portage-dev |
12 |
list). |
13 |
|
14 |
Therefore |
15 |
> I don't see any reasoning about versions, virtuals, constraints, slots, |
16 |
> updates, upgrades, downgrades, ... |
17 |
just because there is none. |
18 |
|
19 |
Now, the next comment is the reason I did this reply, please do not take |
20 |
seriously the rest :). |
21 |
|
22 |
On Friday 05 December 2003 09:46, Pieter Van den Abeele wrote: |
23 |
> On 05 Dec 2003, at 10:58, George Shapovalov wrote: |
24 |
> > To reiterate them shortly, Prolog is a really esoteric language and I |
25 |
> > am not |
26 |
> > sure we will be able to find enough people to feel comfortable about |
27 |
> > having |
28 |
> > the very core of portage-ng implemented in it. Also there might be |
29 |
> > issues of |
30 |
> > portability and efficiency.. |
31 |
> |
32 |
> My biggest concern when reading your small paper is that you chose a |
33 |
> deterministic approach to this problem, while in fact the problem is |
34 |
> non-determinisitic. |
35 |
Could you please elaborate? I am afraid we are thinking about slightly |
36 |
different things here. |
37 |
|
38 |
I stay by my thought that any important to the system tool should be dumb. If |
39 |
there is any uncertainty it should stop and ask, unless it was designed for a |
40 |
very specific situation, where it can be trusted to make the choice. Package |
41 |
maintaince is not such area - IMHO every user that has identical |
42 |
configuration should get identical results (to the extent possible. So here |
43 |
we are talking requirements Daniel ;)). Otherwise we are facing a disasterous |
44 |
consequencies with many people complaining and us being unable to reproduce |
45 |
anything reliably. |
46 |
|
47 |
|
48 |
>Also, your code (which is about 1000 lines long) |
49 |
> does -only- a simple dfs and topological ordering, while I can do the |
50 |
> same in about 10 lines in prolog and have backtracking for free. I |
51 |
This is anecdotal. |
52 |
|
53 |
The *traversal* code is completely |
54 |
localized in bc-graphs-directed-bfs_traverse.adb and is about the same 10 |
55 |
lines :) and is completely generic. |
56 |
The rest of 990 lines deal with such mundane tasks as reading the (possibly |
57 |
misformed) ebuilds and dealing with user (inluding minimalistic help). |
58 |
|
59 |
|
60 |
> I don't want to start a flame war about programming languages. That |
61 |
> would be totally useless because the nice thing about programming |
62 |
> languages is that they are all somewhat equivalent but some more |
63 |
> expressive than the other for a given problem. |
64 |
> |
65 |
> For my thesis and apprenticeship at the Theoretical Computer science |
66 |
> laboratory at the free university of Brussels (tinf.vub.ac.be), I have |
67 |
> been looking into these issues. The techique we have developed for |
68 |
> reasoning about large software configurations such as a |
69 |
> meta-distribution will be presented on a Gentoo meeting in the future, |
70 |
> and can be implemented in any language you prefer. I will have a fully |
71 |
> functional prototype in prolog, because that language offers some |
72 |
> benefits, but the idea itself can be implemented in any other language |
73 |
> such as Ada or friends. |
74 |
Ok, thanks, there wasn't that much verbal info other than "there is a |
75 |
prototype inplementation in prolog", but fortunately Daniel yesterday put the |
76 |
things into a proper perspective :). In any case my goal wasn't to push for a |
77 |
particular language either but to increase "awareness" :), and I now |
78 |
completely stay by the proper procedure. |
79 |
|
80 |
George |
81 |
|
82 |
|
83 |
|
84 |
-- |
85 |
gentoo-dev@g.o mailing list |