Re: is this the year for c++20?

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

 



thanks Greg,

On Tue, Feb 15, 2022 at 8:51 PM Gregory Farnum <gfarnum@xxxxxxxxxx> wrote:
>
> On Thu, Feb 10, 2022 at 8:36 AM Casey Bodley <cbodley@xxxxxxxxxx> wrote:
> >
> > the R release could be a good opportunity to make the switch to c++20
> >
> > gcc and clang both track their support for c++20 features over
> > compiler versions in:
> > https://gcc.gnu.org/projects/cxx-status.html#cxx20
> > https://clang.llvm.org/cxx_status.html#cxx20
> >
> > thanks to the dev toolset in rhel/centos, we should already have
> > access to compilers that support c++20. for ubuntu, focal is still on
> > gcc-9 which doesn't understand -std=c++20 at all, but clang-10 does
> >
> > if we're willing to switch our ubuntu builds to clang, we could start
> > experimenting with c++20 on master now. otherwise, we can wait for the
> > jammy release in april
>
> Don't forget we also need to keep building for older distros. I know

can we be more specific about this requirement? are you saying that
the R release still needs to build on ubuntu focal? or that our
octopus/pacific/quincy releases do?

> it's supposed to be possible and sometimes we've managed to
> cross-build, but it always seems to be hit-or-miss on any given
> distro/compiler version.

i'm not sure what you mean by cross-build here - is that about CI
using different distros/compilers depending on the ceph branch?

> That would be my main concern.
> -Greg
>
> >
> > in the longer term, i'd love to take advantage of c++20's modules to
> > speed up ceph builds, but it could take another year or so before
> > cmake and the compilers support everything we need
> >
> > are there any other concerns or obstacles to making this switch?
> >
> > _______________________________________________
> > Dev mailing list -- dev@xxxxxxx
> > To unsubscribe send an email to dev-leave@xxxxxxx
> >
>

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux