News for hackers. Stuff that matters.
Re:Rust will likely not support tail call optimization by kragen on Wednesday April 10, 2013 @08:55PM (#5529228)
GCC C++ ABIs are unstable enough that cross-platform C++ libraries usually export a C-compatible interface already.
Re:Rust will likely not support tail call optimization by ihnorton on Wednesday April 10, 2013 @09:13PM (#5529310)
g++ vs itself, or g++ vs msvc? g++ uses Itanium C++ ABI on at least linux/mac/mingw, and the mangling and vtable layouts seem to be the same (I'm very interested in any information to the contrary - though I realize vtables are only part of the story).
Re:Rust will likely not support tail call optimization by kragen on Wednesday April 10, 2013 @11:37PM (#5529837)
Itanic may be an exception, but there have been at least two backwards-incompatible C++ ABI changes in G++ over the years. Casting to superclass in the presence of multiple inheritance and exception handling have been among the changes. Maybe they should change vtables too, I don't know.