[PATCH RFC] RFC: allow optional C++ 11 extensions with pybind11 for performance code

Danek Duvall danek.duvall at oracle.com
Mon Feb 8 18:28:59 EST 2016


timeless wrote:

> Sean Farley <sean at farley.io> wrote:
> > Yes, this is precisely the experience I have with C++ and libc++ (yuck
> > and gross incompatibility with libstdc++). It's not just Solaris,
> > either. Try anything that is not {Linux, Windows, Mac} / {gcc, clang}
> > and you'll see all kinds of corner cases crop up.
> 
> There are plenty of painful corner cases on Windows too.
> And if you try hard enough you can get plenty of annoying corner cases on Linux.
> 
> Would a CFront style approach be good enough? Write in limited C++,
> use llvm to convert it to C, commit the C++ as source and the
> generated C and have the build system use the generated C?
> 
> http://llvm.org/releases/3.1/docs/FAQ.html#translatecxx

It would be good enough from my perspective.

Thanks,
Danek


More information about the Mercurial-devel mailing list