From: Daniel da Veiga <danieldaveiga@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] OFF-TOPIC: C / C++
Date: Tue, 14 Apr 2009 17:25:57 -0300 [thread overview]
Message-ID: <342e1090904141325h1d2ba78dja94543c80e82b08b@mail.gmail.com> (raw)
In-Reply-To: <49E4D8A6.4090107@yahoo.com.br>
2009/4/14 Zhu Sha Zang <zhushazang@yahoo.com.br>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Raphael MD escreveu:
>> Pelo que eu entendi parece que o C++ coloca um STUB no programa
>> compilado, para gerenciar todo a OO.
>>
>> Mas agora essa gosma que vc´s falam, pelo menos agora aprendendo OO
>> parece que ele simplifica a coisa. pelo menos no começo parece rs.
>>
>>
> A simplicidade no código tem um custo na performance.
Exato. Eu nem li sobre isso, mas como toda linguagem OO, ele não
precisa de um coletor de lixo? Isso teria um sério impacto na memória
utilizada pelo kernel... O uso de uma linguagem de baixo nível como C
implica que o cara tem que aprender a gerenciar a memória "na mão", o
programa fica "teoricamente" mais rápido e mais eficiente...
Quando se usa OO, a palavra de ordem é ABSTRAIR. Creio que isso não
seria muito bom no desenvolvimento de um núcleo.
--
Daniel da Veiga
next prev parent reply other threads:[~2009-04-14 20:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 18:26 [gentoo-user-br] OFF-TOPIC: C / C++ Raphael MD
2009-04-14 18:40 ` Zhu Sha Zang
2009-04-14 20:25 ` Daniel da Veiga [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-04-14 17:57 Raphael MD
2009-04-14 18:15 ` Zhu Sha Zang
2009-04-14 18:22 ` Raphael Bastos
2009-04-14 18:25 ` Raphael Bastos
2009-04-14 18:33 ` Eduardo Schoedler
2009-04-14 18:23 ` Daniel da Veiga
2009-04-14 21:03 ` Caio Romão
2009-04-15 11:49 ` Nelson(yunakaof)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=342e1090904141325h1d2ba78dja94543c80e82b08b@mail.gmail.com \
--to=danieldaveiga@gmail.com \
--cc=gentoo-user-br@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox