Why are modern game engines....
Name:
Anonymous
2013-03-14 18:31
programmed in C++ and not C?
If they are going to use OO (false-OO) then they should use D.
Name:
Anonymous
2013-03-14 18:36
Symta (cause every file is closure):
Balance: 150
deposit D = !Balance+D
withdraw W = !Balance: max 0 Balance-W
Self:
() balance: 150
deposit: [d | balance: balance + d]
withdraw: [w | balance: (0 max: balance - w)]
C/C++:
class Account {
public:
int balance;
Account(init startBalance) {
balance = startBalance;
}
void deposit(int d) {
balance += d;
}
void withdraw(int w) {
balance = max(0, balance-w);
}
};
Account(150);
Name:
Anonymous
2013-03-14 19:15
>>2
DONT CONFUSE C WITH UR STUPID C++ BULLSHIT U FUCKING RETOID. EITHER REED DA FUCKING STANDARD OR GO BACK TO UR STUPID ANTISEMITIC GIBBERISH.
Name:
Anonymous
2013-03-14 19:18
>>3
stop being autistic.
neurotypicals, like me, prefer to see all curly-bracey languages a single C/C++ monster. PHP and C++ look just the same.
Name:
Anonymous
2013-03-14 19:23
C
class [...] public
Name:
Anonymous
2013-03-14 19:51
>>4
EEEEEH EEEEEEEH EEEEEEEEEH EEEEEEEEEEH EEEEEEEEEEEH EEEEEEEEEEEH EEEEEEEEEEEH EEEEEEEEEEEEEEEEEEEEEEEEH!!
Name:
Anonymous
2013-03-14 20:11
/prog/ challenge: implement class and public in C
Name:
Anonymous
2013-03-14 20:13
Name:
Anonymous
2013-03-14 20:17
>>7
What language do you think C++ was written in? Lisp?
Name:
Anonymous
2013-03-14 20:20
>>9
C++.
THEN WHO WAS LANGUAGE !?
Name:
Anonymous
2013-03-14 20:44
>>11
11 Name: Anonymous.
THEN WHO WAS DUBS!?
Name:
Anonymous
2013-03-14 20:55
>>7
YAINT RED DA FUCKIN STANDARD
Name:
Anonymous
2013-03-15 1:17
>>12
YA I REDDIT UCKS-DEH
Name:
Anonymous
2013-03-15 3:45
>>1
Backward compatibility with older C libraries and ready availability of C++ developers. How is that not obvious?
Name:
Anonymous
2013-03-15 3:48
>>14
I'm going to write my games engine in C just to spite them.
I'm already a multimillionaire, eat your heart out John Carmack.
Name:
Anonymous
2013-03-15 22:21
y gam3s no n sharpie#??
Name:
Anonymous
2013-03-15 22:49
C lets you shoot yourself in the foot
C++ lets you blow your whole leg off one toe at a time
since the majority of popular gaming is shooters, then it only makes sense to program them in C++
Name:
Anonymous
2013-03-15 22:52
Name:
Anonymous
2013-03-15 23:01
why aren't they using javascript? they're just going to have to switch to it anyway, might as well make it easier on themselves and do it earlier
Name:
Anonymous
2013-03-15 23:20
>>19
you're right, they're goyim hating jews anyway, might as well switch to a kosher language