public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Raphael Bastos <tecnologia@bastosservice.com.br>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] OFF-TOPIC: C / C++
Date: Tue, 14 Apr 2009 15:25:28 -0300	[thread overview]
Message-ID: <9b06cf10904141125v697f39d0h1d8378b0a3222a78@mail.gmail.com> (raw)
In-Reply-To: <9b06cf10904141122g4b7d9ae6w94445eb4ec150028@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]

2009/4/14 Raphael Bastos <tecnologia@bastosservice.com.br>

> 2009/4/14 Zhu Sha Zang <zhushazang@yahoo.com.br>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Raphael MD escreveu:
>> > 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.
>> >
>> > Valew
>> >
>> >
>> > Veja quais são os assuntos do momento no Yahoo! +Buscados
>> > http://br.maisbuscados.yahoo.com
>> >
>> >
>> Na boa, não achou resposta por que não pesquisou provavelmente.
>>
>> Procure saber os problemas inerentes à C++ e orientação á objetos.
>>
>> Mas simplificando, o kernel linux ainda é escrito em C por que C é
>> mais simples, rápido, e o gerenciamento do projeto linux, se fosse
>> migrado para C++ utilizando OO ia virar uma merda total.
>>
>> Não que C++ não seja uma boa linguagem, assim como java, mas se você
>> comparar por exemplo o tempo de compilação de um software em C++ e um
>> software em C verá que o tempo é bem menor no segundo caso, assim como
>> comparar um software com OO e sem OO no tempo de execução e utilização
>> de recursos da máquina.
>>
>> Dá uma testada com uns programas simples por aí. Faz um hello world
>> com e sem OO em C++ depois um em C com e sem função.
>>
>> Tire algumas conclusões.
>>
>> att.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAknk0rcACgkQ35zeJy7JhCiubwCfdV9SoMI9ChwLRMZiHdzNHMEo
>> H1YAn2UVBv/Gxz80M7V25n/J00M/tbUV
>> =7jBG
>> -----END PGP SIGNATURE-----
>>
>>
> RFTW
>
> ops... RTFW... escrevi errado. hauhauahua

[-- Attachment #2: Type: text/html, Size: 2806 bytes --]

  reply	other threads:[~2009-04-14 18:25 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 [this message]
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-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=9b06cf10904141125v697f39d0h1d8378b0a3222a78@mail.gmail.com \
    --to=tecnologia@bastosservice.com.br \
    --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