News for hackers. Stuff that matters.
Re:Join the Compiler Creation Club by rayiner on Monday November 25, 2013 @12:22PM (#6795370)
Writing a C++ compiler is something I wouldn't wish on my worst enemy.

My Google SoC project (ages ago) involved generating code to be ABI compatible with C++ virtual table layouts. This spec gave me nightmares: http://mentorembedded.github.io/cxx-abi/abi.html#vtable.

My favorite part is this sentence: "The rules for constructing virtual tables of the class are a combination of the rules from Categories 2 and 3, and can generally be determined inductively."

Ah yes, very comforting. The rules can be generally determined inductively (except of course, when they can't be!)

There are no comments on this comment yet.