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

Kyle Lippincott spectral at pewpew.net
Mon Feb 8 17:01:18 EST 2016


On Mon, Feb 8, 2016 at 1:33 PM, Sean Farley <sean at farley.io> wrote:

>
> Laurent Charignon <lcharignon at fb.com> writes:
>
> > # HG changeset patch
> > # User Laurent Charignon <lcharignon at fb.com>
> > # Date 1454965979 28800
> > #      Mon Feb 08 13:12:59 2016 -0800
> > # Branch stable
> > # Node ID 3c1ae9c7e93e8556fa7470919108a02bd989d040
> > # Parent  61f4d59e9a0be4e25c1aa016db1a80a540a9d337
> > RFC: allow optional C++ 11 extensions with pybind11 for performance code
>
> I am very much against this as I am also against writing code in rust /
> go / etc. Mercurial is a *system tool*. When cloning code on IBM
> BlueGene it is annoying as hell to have random dependencies sneak in
> like this. For reference, IBM BlueGene has had problem with codes that
> use C++.
>

Do you have links to some of the issues?  I feel like C++ is common enough
and mature enough that this is mostly cargo-culted fear, but would be fine
with being proven wrong.

I don't know about the portability of pybind11 or any of those, but I was
definitely under the impression that C++03 code was essentially as portable
as C, and C++11 was getting close.


> C is much, much, much more portable. In fact, I would like to go even
> further and break out the C code we have into a shared library (for cffi
> sweetness).
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160208/bc59308e/attachment.html>


More information about the Mercurial-devel mailing list