[rrd-developers] rrdtool 1.4 development ready to go

Tobias Oetiker tobi at oetiker.ch
Sun Sep 7 19:14:08 CEST 2008


José,

> > Regarding the library interface, I am aware that the 'argv argc'
> > interface is entirely not what c programmers are used to. And it
> > also means the loss of precision when numeric data is converted to
> > strings and back.
> >
> Indeed. I already proposed a switch early 2005, IIRC

many have ... before and after you :-)

> > Unfortunately I have not yet seen a api design that convinced me to
> > switch.
> >
> Will you take a look at what I designed at that time?
> You will most probably not like it entirely, but it might be a good
> starting point.
>
> The strategy we used was to re-design everything in C++,
> object-oriented, and then code the resulting "proyection" onto C. The
> modules each take opaque "handles" and all parameters are passed around
> in their native binary form ---as opposed to converting back and forth
> into strings.

Something uniform for all modules would certainly be a cool thing.

show us what you have
tobi



-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900


More information about the rrd-developers mailing list