Bjarne general

bjarne general

Other urls found in this thread:

youtube.com/watch?v=KlPC3O1DVcg
benchmarksgame.alioth.debian.org/u64q/cpp.html
twitter.com/NSFWRedditImage

...

no

Friendly reminder that C > C++.

He sounds so fucking butthurt

youtube.com/watch?v=KlPC3O1DVcg

...

>Easier to optimize
What a huge faggot.

nice
now we need more such papers

Long Bjarne is loooooooooooooooooooooooonnnngggg

88 autism points right there. I bet you used LaTeX for this

Yup you did

>Comparing stdio.h to iostreams
You might as well compare ncurses to Qt.

>wah, my bloated language includes shitloads of bloat and does the same fucking thing as a better language, stop comparing them like that!!111

>didn't compile with optimizations and -s
what a retard

>need to compile with size and performance optimizations to make a binary that's better than 800% larger

> Anything you don't need to write a Hello World is a bloat
> This basic usage of two libraries produces the same result, therefore libraries are functionally identical and can be compared directly
As I've said, you may as well compare message box examples in ncurses and Qt.

This thread feels like old /prog/

>He measures process startup time instead of measuring actual runtime performance
He could at least put the loop inside the code.

I updated it a while ago, adding the -s parameter to linking (divides all exe sizes by about 2) and adding build times (second time since GCC and G++ take over a second to run the first time). Forgot to convert it to PNG though.

>benchmarking Hello Worlds
benchmarksgame.alioth.debian.org/u64q/cpp.html

>click one (1) C++ code
>cmath, cstdio, cstdlib
Irrelevant.

It's a part of C++ standard, you know.

Still C.

C ⊂ C++, so it's C++ too.

Using C++ without compiler optimisations is kindof missing the point. C++ is designed to have abstractions that the optimiser can reduce to nothing in many cases, where C coders generally do things more directly.

I'd never use anything less than -O2 with C++. Also use -flto if at all possible.

>C ⊂ C++
You're an idiot.