2011/12/8 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
<marcelo.va...@claro.com.br>:
>>On 6 December 2011 18:14, Tristan Van Berkom <t...@gnome.org> wrote:
>>> Or, can glib programs which don't make use of GObject use
>>> threads at all ?
>>
>>sure.
>
> Out of curiosity, do you recommend me to use GObject to any glib program? Or 
> only for those I need to integrate with other languages?

Yes I do.

The learning curve for writing object oriented code in plain C with the aid
of the GType system can be a bit steep, but well worth the effort (and it's
become my preference, even if only because there is no 'black box' which
is evilly trying to manage my memory allocations on my behalf, but that
is arguably a matter of taste...).

I'm thoroughly convinced that the minutes I lose copy/pasting and
search/replacing the basic boiler plate code needed to write a
GObject pays off very very much just by allowing me to write object
oriented code.

I would think language bindings as a very very secondary advantage
to writing code with GObject, surely language bindings can even be
made for C libraries who dont leverage GObject anyway.

Cheers,
         -Tristan

>
> Thanks for the rest of the answers, it was very elucidative.
>
>
> Esta mensagem, incluindo seus eventuais anexos, pode conter informações 
> confidenciais, de uso restrito e/ou legalmente protegidas. Se você recebeu 
> esta mensagem por engano, não deve usar, copiar, divulgar, distribuir ou 
> tomar qualquer atitude com base nestas informações. Solicitamos que você 
> elimine a mensagem imediatamente de seu sistema e avise-nos, enviando uma 
> mensagem diretamente para o remetente e para postmas...@claro.com.br. Todas 
> as opiniões, conclusões ou informações contidas nesta mensagem somente serão 
> consideradas como provenientes da Claro ou de suas subsidiárias quando 
> efetivamente confirmadas, formalmente, por um de seus representantes legais, 
> devidamente autorizados para tanto.
> ------------------------------------------------------------------------------
> Este mensaje, incluyendo sus eventuales archivos adjuntos, puede contener 
> informaciones confidenciales, de uso restringido y/o legalmente protegidas. 
> Si usted ha recibido este mensaje por error, no debe utilizar, copiar, 
> divulgar, distribuir o tomar cualquier actitud basada en estas informaciones. 
> Solicitamos la inmediata eliminación del mensaje de su sistema y el envío de 
> un informe en forma directa al remitente y a postmas...@claro.com.br. Todas 
> las opiniones, conclusiones o informaciones contenidas en este mensaje 
> solamente serán consideradas como provenientes de Claro o de sus subsidiarias 
> cuando sean efectivamente confirmadas, formalmente, a través de uno de sus 
> representantes legales debidamente autorizados a tal fin.
> ------------------------------------------------------------------------------
> This message, including all attachments transmitted with it may include 
> restricted, legally privileged, and/or confidential information. If you 
> received this message by mistake or in error you are hereby notified that you 
> must not use, publicize, copy, distribute, resend, or take any action based 
> on the information contained in the message. We ask you to delete the message 
> immediately from your system and advise us by sending a message directly
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
  • mutex doubt Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
    • Re: mutex ... jcupitt
      • Re: mu... Tristan Van Berkom
        • Re... Emmanuele Bassi
          • ... Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
            • ... Tristan Van Berkom
              • ... Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
        • RE... Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
          • ... Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -

Reply via email to