[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] C++11
From: |
Hendrik Boom |
Subject: |
Re: [Monotone-devel] C++11 |
Date: |
Tue, 13 May 2014 11:17:33 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 13, 2014 at 09:08:01AM +0200, Thomas Keller wrote:
>
> Hi Markus!
>
> Markus Wanner schrieb:
> > Obviously, the former offers little benefit: We could possibly add minor
> > #ifdef'd optimizations. For example using perfect forwarding and move
> > constructors to avoid some copying if C++11 is used.
> >
> > The latter seems much more interesting, but is a much heftier change as
> > well. Before I proceed with that branch, I'd like to get some feedback
> > and opinions.
>
> Since I'm not developing with C++ anymore on a daily basis, would you
> mind to give guys like me some examples / judgement why monotone should
> switch to C++11? I could think of having less code in monotone because
> more is taken care of already in the stdlib, but some examples would be
> nice.
monotone should definitely be compilable on C++11. But it's going to be
a while before all platforms have C++11 compiler. I'm thinking of
things like long-term-support Ubuntu and Debian Squeeze, older Mac's
which do not receive new OS/X's any more, Windows XP machines, and so
forth. There are probably even older platforms still in active use
somewhere. It's not unusual at all for servers to be running stable
long-term-support versions of software and foregoing the latest and
greatest for stability.
I have noo idea how many of these old systems use monotone.
I maintain that monotone should remain compilable on older C++
compilers. At very least, the pre-C++11 version of monotone should be
its own legacy branch and should continue to receive bugfixes for a
long time, and should remain net-sync-compatible with the current one.
Of course, the operational questions here are *when* the transition
should occur, and how long dual-operation should be supported when it
does.
-- hendrik
- [Monotone-devel] C++11, Markus Wanner, 2014/05/12
- Re: [Monotone-devel] C++11, Thomas Keller, 2014/05/13
- Re: [Monotone-devel] C++11,
Hendrik Boom <=
- Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/13
- Re: [Monotone-devel] C++11, J Decker, 2014/05/13
- Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/13
- Re: [Monotone-devel] C++11, Hendrik Boom, 2014/05/13
- Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/13
- Re: [Monotone-devel] C++11, Stephen Leake, 2014/05/15
- Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/13
- Re: [Monotone-devel] C++11, Jack Lloyd, 2014/05/20
- Re: [Monotone-devel] C++11, Markus Wanner, 2014/05/16
- Re: [Monotone-devel] C++11, Hendrik Boom, 2014/05/13