Jump to page: 1 2 3
Thread overview
Someone should tell him about D...
Jun 02, 2022
twinbee
Jun 02, 2022
Paulo Pinto
Jun 02, 2022
forkit
Jun 02, 2022
Araq
Jun 02, 2022
max haughton
Jun 02, 2022
Guillaume Piolat
Jun 02, 2022
monkyyy
Jun 02, 2022
H. S. Teoh
Jun 02, 2022
Timon Gehr
Jun 02, 2022
IGotD-
Jun 02, 2022
H. S. Teoh
Jun 02, 2022
IGotD-
Jun 03, 2022
monkyyy
Jun 03, 2022
monkyyy
Jun 03, 2022
IGotD-
Jun 03, 2022
monkyyy
Jun 03, 2022
Ali Çehreli
June 02, 2022

Quote from Elon Musk on Twitter:

"Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."

Source: https://twitter.com/elonmusk/status/1532274289893904384

June 02, 2022

On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:

>

Quote from Elon Musk on Twitter:

"Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."

Source: https://twitter.com/elonmusk/status/1532274289893904384

Makes no sense. Clang is the same compiler for C and C++…

June 02, 2022

On Thursday, 2 June 2022 at 10:43:40 UTC, Ola Fosheim Grøstad wrote:

>

On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:

>

Quote from Elon Musk on Twitter:

"Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."

Source: https://twitter.com/elonmusk/status/1532274289893904384

Makes no sense. Clang is the same compiler for C and C++…

Back in the early days of C vs C++ flamewars, there were these geek t-shirts, "my compiler compiles yours" from C folks.

I guess we need an updated version of them.

June 02, 2022
On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:
>

Well, you know what they say:

"The weakness of the C language comes from its strength"

June 02, 2022
On Thursday, 2 June 2022 at 11:51:30 UTC, forkit wrote:
> On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:
>>
>
> Well, you know what they say:
>
> "The weakness of the C language comes from its strength"

Assembly instruction `mov rcx, [rax]`. Cost: 1 cycle. Or 500.

It's not 1980 anymore, there is hardly a benefit in looking at the assembler, you need to measure things. Musk is surprisingly bad at working from "first principles" sometimes.
June 02, 2022

On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:

>

Quote from Elon Musk on Twitter:

"Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."

Sometimes it feels like people with a conservative bias live in a world where only "established" languages and brands exist.

https://en.wikipedia.org/wiki/Scurvy#History

June 02, 2022
On 02.06.22 12:36, twinbee wrote:
> Quote from Elon Musk on Twitter:
> 
> "Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."
> 
> Source: https://twitter.com/elonmusk/status/1532274289893904384

Truth. In terms of actual CPU operations, it will compile to an arbitrary code execution exploit. The point about C++ is valid too.
June 02, 2022

On Thursday, 2 June 2022 at 14:24:00 UTC, Guillaume Piolat wrote:

>

Sometimes it feels like people with a conservative bias live in a world where only "established" languages and brands exist.

Sometimes it feels like people with a commie bias live in a world where all the established languages will be trivially replaced by the next thing they think up

June 02, 2022

On Thursday, 2 June 2022 at 10:36:24 UTC, twinbee wrote:

>

Quote from Elon Musk on Twitter:

"Side note: I hate the bloated mess that is modern C++, but love simple C, as you know what it will compile to in terms of actual CPU operations."

Source: https://twitter.com/elonmusk/status/1532274289893904384

While I can understand the frustration of modern C++, the right tool for the right job is more important. Try doing string manipulation with the C standard library, in that case I would pick C++ over C any day. C is not always simpler.

June 02, 2022

On Thursday, 2 June 2022 at 17:00:35 UTC, IGotD- wrote:

>

While I can understand the frustration of modern C++, the right tool for the right job is more important. Try doing string manipulation with the C standard library, in that case I would pick C++ over C any day. C is not always simpler.

Yeah, well, modern C++ doesn't add anything that affects performance bottle necks in a negative way. Sounds like he has talked with someone that has started coding before they knew what the requirements should be. C++ does not support evolutionary development… you have to know what you are going to do before you start coding.

« First   ‹ Prev
1 2 3