And much of the standard library relies on GC, so what then, roll your own to be sure?
Printable View
Part of the whole "fad" part of 'D'. I should check back into CLAY. From a language perspective that was looking pretty decent. Not just another same old same old object inheritance thing, but an attempt at some orthogonality and simplicity. The biggest strike was missing "const".
Btw this is a topic about john carmack and c++. How did this turn into a discussion on 'D'? Sometimes I wonder about astroturfing...
The c++ benefits does not compensate for its technical cost. Then, better stick to C.
The c++ benefits does not compensate for its technical cost for you. What you wrote is like saying "Don't use competition skis, their benefits do not compensate for the difficulty to handle them". Certainly true for a beginner, certainly false for a competitor.
I personally would miss exceptions, templates and polymorphism too much.
I don't understand why 'byte' is signed in the first place, but it wouldn't give you much if there was such type. Every integer operation where none of the operands is a long is done in 32bit.
so it's byte + byte is converted to int + int and the result is converted back to byte.
This means you would use a little bit less space but have a more expensive operation, which is probably the reason 'byte' is signed. so byte2int and int2byte is just adding and removing bits from/to one end.
Haha Java rulzzzz! Why do you think they based android on it? And yes you can make 3D games with it and they work pretty fast. No need to suicide yourself with C++. Garbage Collectors are good! Say it with me: GC is good! GC is good! Plus that huge standard library! Sometimes I wonder why don't more people use C# or Java especially since most don't write performance critical code. And since for high frequency trading some companies use Java I think that you can even choose it for performance critical code. So what's not to like? Faster development, less bugs, better debugging.... I think people choose C++ just to show off.