Re: C vs C++ APIs

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

 



On Fri, 18 Feb 2011, Noah Watkins wrote:
> On Feb 18, 2011, at 1:14 PM, Sage Weil wrote:
> 
> > I see a few options...
> 
> This might be a completely inappropriate question :), ....since there is 
> ostensibly an in-kernel rados client supporting rbd, why not use a 
> pure-C rados client in userspace, and build whatever C++ API on top of 
> this?

Then you depend on the kernel support.

The main benefit of the C++ API is the bufferlists (used internally), 
which can avoid memory copies between the library user and the library.

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


[Index of Archives]     [CEPH Users]     [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