News for hackers. Stuff that matters.
Re:C++ object model and other internals explained with simpl... by jpr on Wednesday March 30, 2011 @02:35AM (#2386114)
If C++ can be explained adequately with simple C code, why use C++ in the first place?
Re:C++ object model and other internals explained with simpl... by mahmud on Wednesday March 30, 2011 @02:46AM (#2386136)
Some manual C code can adequately explain what C++ does automatically.

The difference is cost; you have to link against C code, for some platforms, what C++ provides for free on all platforms.

Re:C++ object model and other internals explained with simpl... by roel_v on Wednesday March 30, 2011 @06:08AM (#2386505)
C++ cannot be explained fully with simple and safe C code. For example, theoretically one could implement the most basic usage of templates with macros; it would however not be easy to work with (error message in the wrong places) and it would still not emulate e.g. template specialization.
Re:C++ object model and other internals explained with simpl... by danssig on Wednesday March 30, 2011 @06:13AM (#2386517)
Better type safety is possible in C++ than in C.