public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
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 15:23:10 -0300	[thread overview]
Message-ID: <342e1090904141123m4ea8c5fftc88a2edb2981782b@mail.gmail.com> (raw)
In-Reply-To: <275687.48917.qm@web36702.mail.mud.yahoo.com>

2009/4/14 Raphael MD <raphamejias@yahoo.com.br>:
>
> Estava lendo na net sobre o Linux e sobre linguagens de programação.
>
> Então me veio a dúvida, se o C++ pode-se assim dizer é a evolução que trouxe a Orientação a Objetos para o C, porque a kernel no linux que até foi reescrita (2.6) é em C e não em C++?
>
> C++ é mais rádpio que C?
>
> Sempre tive essas dúvidas e nunca achei a resposta.

<opinião pessoal>
C++ não se aplica ao kernel pela codificação, velocidade, paradigmas,
complexidade e porque o Linus não quer... Hehehe

Ela gerencia a própria memória, coisa que os programadores de baixo
nível não acham uma boa idéia, eles também consideram o compilador C++
não confiável para lidar com código como o kernel. O compilador C é
mais previsível em termos de geração de código.

Além disso, o código do kernel ficaria uma gosma, convenhamos....
</opinião pessoal>

-- 
Daniel da Veiga



  parent reply	other threads:[~2009-04-14 18:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14 17:57 [gentoo-user-br] OFF-TOPIC: C / C++ 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 [this message]
2009-04-14 21:03 ` Caio Romão
2009-04-14 21:11   ` fabianoengler
2009-04-15 11:49 ` Nelson(yunakaof)
  -- strict thread matches above, loose matches on Subject: below --
2009-04-14 18:26 Raphael MD
2009-04-14 18:40 ` Zhu Sha Zang
2009-04-14 20:25   ` Daniel da Veiga

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=342e1090904141123m4ea8c5fftc88a2edb2981782b@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