C++ object model and other internals explained with simple C code
avabodh.com
avabodh.com
Link seems to be down, although some of it is cached by google. Is there a way to use google webcache to edit the hyperlinks in a cached article so that they point to cached versions of the target?
Depends on what you want to do with this knowledge. If you want to use this knowledge for gains in performance, you will have to get your hands dirty and dig into specific implementations.
The section on exception handling says that there are compiler dependent code size increases and speed is impacted (5% - 10%) even if it is not triggered. That contradicts Stroustrup in Design and Evolution of C++ where its stated that it should be the same cost as a function call. I've heard other people say that exception handling is now "free". I should spend less time gaining second hand information and more time trying this stuff out myself.
We had to fight gcc 2.95, metrowerks, and few other compilers putting the "virtual table pointer" at different places - begining of object, end, etc. Then alignment differences (not strictly C++), and bitfields. Hopefully mangling was avoided, as we did not had to reference at runtime the data, we had pointers.
It was quite messy, and you could not reuse exported data - had to be for each platform/compiler.
PDOException: SQLSTATE[HY000] [2002] Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
in lock_may_be_available() (line 165 of
/srv/www/avabodh.com/public_html/includes/lock.inc).Disclaimer: I've never used Drupal or a coral cache before, so I don't know how to create these links. I'm going to try the Google cache...
The difference is cost; you have to link against C code, for some platforms, what C++ provides for free on all platforms.