GLib/GObject+C as the lingua franca?

nf2 nf2 at scheinwelt.at
Sun Jul 27 10:38:24 BST 2008


Aaron J. Seigo wrote:
> On Saturday 26 July 2008, nf2 wrote:
>   
>> 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++
>> as well.
>>     
>
> ... and that's where Qt comes in. it has a very clean, consistent and powerful 
> API that makes up for things that are quite difficult with plain C++.
>   

Great!











More information about the kde-core-devel mailing list