RES: mutex doubt



Ok, I am convinced. :D
I try to use object orientation in C but following the standard, but I thought GObject wouldn't give me this 
amount of advantage.
Anyway, I don't think I should let of using something because of its learning curve. Will give it a try!


-----Mensagem original-----
De: tristan van berkom gmail com [mailto:tristan van berkom gmail com] Em nome de Tristan Van Berkom
Enviada em: quinta-feira, 8 de dezembro de 2011 03:36
Para: Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
Cc: Emmanuele Bassi; gtk-app-devel-list gnome org
Assunto: Re: mutex doubt

2011/12/8 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
<Marcelo Valle claro com br>:
On 6 December 2011 18:14, Tristan Van Berkom <tvb 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.

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 postmaster 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 
postmaster 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]