GLib/GObject+C as the lingua franca?
nf2 at scheinwelt.at
Sun Jul 27 03:27:00 BST 2008
Aaron J. Seigo wrote:
> On Saturday 26 July 2008, nf2 wrote:
>> Aaron J. Seigo wrote:
>>> On Friday 25 July 2008, nf2 wrote:
>>>> I wonder if a kind of mixed style would work: libraries with public
>>>> GObject/C APIs, but internally stdc++.
>>> the phrase "disgustingly ugly" comes to mind.
>> Why? I think a lot of things that are tiring with plain C - like
>> strings, containers and garbage collection might be a bit easier with a
>> bit of C++.
> so write in C++ but hobble it with an API designed to make up for C's
> shortcomings? that's what i meant by "disgustingly ugly"
I think you are a bit undervaluing GObject. I think it does a lot more
than reinventing C++... things which are quite difficult with plain C++
> besides the current state not really mapping to what you describe here all
> (look at HAL and it's proposed replacement), we made a lot of decisions to
> help make this "slow/different" pace possible.
Don't misunderstand me. I really appreciate all that :-)
More information about the kde-core-devel