Pieter Van den Abeele wrote:

> There are more advantages to using prolog. But let me point you at some 
> downsides first. Prolog is logic programming, and people tend to avoid 
> logic (and choose other languages like Ada for instance). However, 
> because of its relation to logic, Prolog is often used in reasoning 
> systems, which is in fact what portage is.

Two comments.  (Sorry, I'm not subscribed to portage-dev, so this is
going to the wrong list.  Bad Bob!)

First, is Prolog embeddable?  Would it be possible to do all the I/O,
UI, etc. in a procedural language, and hand the dependency data off to
Prolog to do the actual analysis?  Would that approach make sense?

Second, is there anything wrong with Python as an implementation
language?  If you think Python is too slow, think again.  On nearly
every portage operation I do, the CPU is mostly idle -- it's the disk
that's thrashing (according to gkrellm).  The key to improving
portage's performance is to get it to open fewer files.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list

Reply via email to