From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Thu 01 Nov 2001 - 17:23:09 GMT
On Thu, 1 Nov 2001 18:54:49 -0500, Konstantin Starodubtsev wrote
> > I will release a new version of vunify, this time written in C++. It does more
> > checks. For example, it checks that the same package version is installed in
> > both ref and vserver.
> Are you sure it is necessary to write it in low-level language? May be it is
> better to write it in perl or python? I think vunify program will spent it's time
> in system(or external program) calls mostly, so there is no serious reason to
> use C++ unless a very good library for rpm manipulating is already written.
> Also C++ can make porting vunify to other package sytems a bit harder. I'm using
> Debian Linux, and porting current program for using dpkg took 10 minutes for me,
> but I'm not sure that C++ version can be such easily ported or extended.
Quite frankly, C++ is certainly portable. It is probably not bigger than perl
or whatever. Also it has to deal with many many files.
And this stuff has to be maintained. This close pretty much the deal for language
like perl.
---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc