My Wish List - convert to c++?
Tom Browder
tom.browder at gmail.com
Tue Aug 8 11:50:17 EDT 2006
On 8/8/06, Christian Stimming <stimming at tuhh.de> wrote:
...
> However, I can think of a few downsides of this transition, mainly
> concerning portability: Currently gnucash can compiler on a *lot* of
> platforms (*BSD, Solaris, Mac OSX), which is clearly one benefit of
> using only C. I doubt whether c++ compilers are around as much as are c
> compilers on these platforms. So that's something you would loose.
Doesn't g++ run on all those machines?
> What would be the benefit, then? The class and structure conventions are
> mostly not freely decided by us, but instead they are enforced by the
> currently used GUI toolkit. The GUI toolkit happens to be gtk, which
It's home page says it supoports C and C++. Besides, there is the
C++ API version gtkmm and its friends.
> There might be a little benefit in terms of the basic gnucash
> structures, which could then be grouped as classes, but OTOH this is
> really very limited. The structures aren't as bad at all; much worse is
> the handling of containers, which are all GList's of void* pointers.
> Getting rid of *these* would be a benefit. I'd prefer a
Apparently there is a mid solution with various conversions between
gtk+ and gtkmm for any transition period.
-Tom
More information about the gnucash-devel
mailing list