Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C faster than C++?

Name: Anonymous 2013-02-15 22:24

Is C faster than C++?

Name: Anonymous 2013-02-15 23:16

languages don't have speed, now /polecat kebabs/.

Name: Anonymous 2013-02-15 23:25

>>2
Theoretically, yes, but in the real world you're wrong. Say I wrote a language that said a simple arithmetic expression should take two instructions instead of one. It would obviously be slower.

http://benchmarksgame.alioth.debian.org/

Name: Anonymous 2013-02-16 1:10

>>3
What's an instruction?

Name: Anonymous 2013-02-16 1:17

>>3
learn to read

This box plot shows how many times slower, the fastest benchmark programs for selected language implementations were, compared to the fastest programs.

Name: Anonymous 2013-02-16 4:07

I fucking love reading.

Name: Anonymous 2013-02-16 4:13

I fucking love my binary trips

Name: Anonymous 2013-02-16 4:18

I fucking love loving your binary trips.

Name: Anonymous 2013-02-16 4:25

I fucking love consecutive binary trips.

Name: Anonymous 2013-02-16 6:02

>>5
I think the variables on the plot are quite clear. I already posted the math abstract on this long ago. In the End, anything you do in C++ will do more instructions than what you do in C in any compiler. SO if you need to do less instructions on your CPU, choose C or any *LISP*.

Name: >>10 2013-02-16 6:04

ATS and Ada are fine too.

Name: Anonymous 2013-02-16 6:41

turbo c is fastist langwitch coz it turbo

Name: Anonymous 2013-02-16 6:42

>>12
turbo c++ have later coming out so it better, wich meens it faster den c porgamminj

Name: Anonymous 2013-02-16 6:43

#include <conio.h>

void main() { getch(); getch(); kbhit(); kbhit(); kbhit(); kbhit(); getch(); }

Name: Anonymous 2013-02-16 9:01

check 'em

Name: Anonymous 2013-02-16 10:18

If you really want speed just use a pure, statically typed functional language...

Name: Anonymous 2013-02-16 11:50

>>1
C++ is slower because of TEMPLATE BLOAT

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List