[MUD-Dev] Languages

Jeff Kesselman jeffk at tenetwork.com
Sat May 24 18:13:54 New Zealand Standard Time 1997

At 04:07 PM 5/24/97 PST8PDT, you wrote:
>> Remember that C++ gives you multiple ways to do inlines. 
>> Infact there is NO reason why C++ shoudl have ANY more voerhead then C IF
>> youvundertsnad what the compiler is doing and code to it correctly.
>> Typicly the reason C++ code ends up slower is due to mis-coding of
>> constructors by peopel who do NOT understand whats going on underneath.
>> JK
>This is my main objection about C++: one should be able to use a language
>after reading the *specification*, not the bloody compiler source! :P :P :P

'comon miro... how many times have you coded the following...

byte *t1,t2;

for (i=0;i<length;i++) *t1++ = *t2++;

or something simialr?

Such array walkign is MUCh faster then array access with [], but yould
never guess that unless you understood what C is doing.


More information about the MUD-Dev mailing list