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

gcc rewritten in C++: end of an era for C

Name: Anonymous 2012-08-21 20:06

http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=2b15d2ba7eb3a25dfb15a7300f4ee7a141ee8539

They're making heavy use of classes and templates. How does it feel?

Name: Anonymous 2012-08-21 20:14

Feels like my old AMD CPU will take 300% more time to compile GCC.

Name: Anonymous 2012-08-21 20:38

>>2
And GCC will take even longer to compile even C programs.

Name: Anonymous 2012-08-21 20:46

>>3
Why?

Name: Anonymous 2012-08-21 20:47

>>3
C stops being faster than C++ the moment you write a function pointer.

Name: Anonymous 2012-08-21 20:52

>>5
Oh.

Why?

Name: Anonymous 2012-08-21 20:56

>>5
That's assuming you don't use templates or exceptions.

Name: Anonymous 2012-08-21 22:56

both languages are crap

Name: Anonymous 2012-08-22 1:37

>>5
Function pointers aren't slow, you dimwit.

Name: Anonymous 2012-08-22 1:38

>>6
ignore him, he's just trolling

Name: Anonymous 2012-08-22 14:53

 

Name: Anonymous 2012-08-22 17:37

August 2026: GCC starts being rewritten in java

Name: Anonymous 2012-08-22 19:03

>2012
>not rewriting your operating system in node.js

Name: Anonymous 2012-08-22 19:07

GCC in JavaScript: http://bellard.org/jslinux/

Name: Anonymous 2012-08-22 20:32

I think gcc is trying to compete with llvm by being more modular in order to improve error detection

Name: Anonymous 2012-08-22 21:25

>>14
It is an emulator. You can write one even in brainfuck.

Name: Anonymous 2012-08-23 8:04

>>15
Guess the are attempting to trigger errors by making heavy usage of classes and templates. In an attempt to catch bugs.

>>1
A couple of years ago I was heavy into the backend. Stuff was shit difficult, and debugging through it wasn't the easiest of tasks, as it was not always easy or fast to get to certain 'places of interest'. I find debugging classes and especially templates more difficult than plain C, basically because of the obfuscation overloading introduces.

Imagining that these two have intercourse must truly result in Frankensteins monster.

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