All of lore.kernel.org
 help / color / mirror / Atom feed
* C++11 and librados C++
@ 2015-08-03 20:25 Samuel Just
  2015-08-04 10:46 ` Wido den Hollander
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Just @ 2015-08-03 20:25 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org, ceph-users@lists.ceph.com
  Cc: Weil, Sage, Durgin, Josh, Casey Bodley

It seems like it's about time for us to make the jump to C++11.  This
is probably going to have an impact on users of the librados C++
bindings.  It seems like such users would have to recompile code using
the librados C++ libraries after upgrading the librados library
version.  Is that reasonable?  What do people expect here?
-Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: C++11 and librados C++
  2015-08-03 20:25 C++11 and librados C++ Samuel Just
@ 2015-08-04 10:46 ` Wido den Hollander
  2015-08-04 12:51   ` Sage Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Wido den Hollander @ 2015-08-04 10:46 UTC (permalink / raw)
  To: Samuel Just, ceph-devel@vger.kernel.org,
	ceph-users@lists.ceph.com
  Cc: Weil, Sage, Durgin, Josh, Casey Bodley



On 03-08-15 22:25, Samuel Just wrote:
> It seems like it's about time for us to make the jump to C++11.  This
> is probably going to have an impact on users of the librados C++
> bindings.  It seems like such users would have to recompile code using
> the librados C++ libraries after upgrading the librados library
> version.  Is that reasonable?  What do people expect here?

Well, some people use Qemu build by their distro, but they use librados
/ librbd from ceph.com

So if they suddenly have to rebuild Qemu that would hurt them I think.

Wido

> -Sam
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: C++11 and librados C++
  2015-08-04 10:46 ` Wido den Hollander
@ 2015-08-04 12:51   ` Sage Weil
  2015-08-04 16:56     ` Alex Elsayed
  0 siblings, 1 reply; 4+ messages in thread
From: Sage Weil @ 2015-08-04 12:51 UTC (permalink / raw)
  To: Wido den Hollander
  Cc: Samuel Just, ceph-devel@vger.kernel.org,
	ceph-users@lists.ceph.com, Durgin, Josh, Casey Bodley

On Tue, 4 Aug 2015, Wido den Hollander wrote:
> On 03-08-15 22:25, Samuel Just wrote:
> > It seems like it's about time for us to make the jump to C++11.  This
> > is probably going to have an impact on users of the librados C++
> > bindings.  It seems like such users would have to recompile code using
> > the librados C++ libraries after upgrading the librados library
> > version.  Is that reasonable?  What do people expect here?
> 
> Well, some people use Qemu build by their distro, but they use librados
> / librbd from ceph.com
> 
> So if they suddenly have to rebuild Qemu that would hurt them I think.

Qemu fortunately is using the C bindings, so it would not be affected.  
It is only the C++ ABI (or lack thereof) that is problematic.

What users of the C++ bindings are there out there?

sage

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: C++11 and librados C++
  2015-08-04 12:51   ` Sage Weil
@ 2015-08-04 16:56     ` Alex Elsayed
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Elsayed @ 2015-08-04 16:56 UTC (permalink / raw)
  To: ceph-devel; +Cc: ceph-users

Sage Weil wrote:

> On Tue, 4 Aug 2015, Wido den Hollander wrote:
>> On 03-08-15 22:25, Samuel Just wrote:
>> > It seems like it's about time for us to make the jump to C++11.  This
>> > is probably going to have an impact on users of the librados C++
>> > bindings.  It seems like such users would have to recompile code using
>> > the librados C++ libraries after upgrading the librados library
>> > version.  Is that reasonable?  What do people expect here?
>> 
>> Well, some people use Qemu build by their distro, but they use librados
>> / librbd from ceph.com
>> 
>> So if they suddenly have to rebuild Qemu that would hurt them I think.
> 
> Qemu fortunately is using the C bindings, so it would not be affected.
> It is only the C++ ABI (or lack thereof) that is problematic.
> 
> What users of the C++ bindings are there out there?

One thing I think is worth noting: GCC 5 represents an ABI break for C++11 
http://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/

Thus, some serious care is needed to avoid compat hazards when using C++11.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-04 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 20:25 C++11 and librados C++ Samuel Just
2015-08-04 10:46 ` Wido den Hollander
2015-08-04 12:51   ` Sage Weil
2015-08-04 16:56     ` Alex Elsayed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.