lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Dec 05, 2011 at 10:08:43AM -0800, Dimiter 'malkia' Stanev wrote:
> C is proven interface to work for system level work, because it's
> compatible across many compilers and run-time systems. C++ is nice
> that it embeds types and such, but it fails to encode them the same
> way on the binary level (would not even start mentioning the class
> layout and virtual inheritance low-level schemes).

BeOS should be a lesson to us all; they're still stuck on GCC 2.95
because the system libraries are all C++ and thus stuck with the ABI.

C++ for libraries is a mistake.

B.