[Top][All Lists]

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

Re: A case for C++11 in Octave

From: Mike Miller
Subject: Re: A case for C++11 in Octave
Date: Mon, 17 Nov 2014 11:44:29 -0500

On Sun, Nov 16, 2014 at 14:53:39 +0000, Carnë Draug wrote:
> But if we agree that people locked on oldstable versions (or veryoldstable
> in the case of RHEL and CentOS 5) are capable people, and that gcc 4.7
> is the best that they can build there, can we go with features available
> at least on that version?

It's a tradeoff, we just have to decide if the benefit to
maintenance/convenience of development is worth the cost of possibly
alienating some class of current or potential users and contributors.

I don't think it is, but I'm also not very fluent in or excited about
the C++11 language additions, so I have a bias. I'm willing to accept
that others who are more familiar with the language may see great
benefits and come to a consensus that it is highly worth it.

It's my understanding there are also some who want to build or develop
with Octave using other compilers not mentioned here so far, such as
MSVC or Intel. Does anyone know if this will no longer be possible?

And on Mon, Nov 17, 2014 at 08:54:38 +0100, Thomas Weber wrote:
> That said, if you decide to require a newer compiler, go the full way!
> Take the *latest* available compiler and use all the features.

Agreed, if the consensus is to start using C++11 features, and not to
limit Octave to some compatible "oldstable" gcc, you might as well
start using whatever beneficial features are available in the latest

That said, there should probably be feature checks in the configure
script for each of the specific language features that you do want to


reply via email to

[Prev in Thread] Current Thread [Next in Thread]