[USRP-users] [UHD] Request for Feedback: C-API

mleech at ripnet.com mleech at ripnet.com
Tue Jul 21 12:45:08 EDT 2015


 

See: 

http://www.quora.com/Is-C++-slower-than-C 

In general, C++ is is fast or faster than C for doing the same sorts of
things. 

On 2015-07-21 12:39, Martin Braun via USRP-users wrote: 

> Marcus' answer is correct, but this is an important question and I want
> to be absolutely clear:
> 
> - UHD will stay in C++ (it is not moving to C)
> - This API is merely a wrapper, all it does is turn C++ calls into C calls
> - Using this API will *not* improve your performance, ideally, it's the
> same, in reality, it might be a tiny bit worse
> - This API is meant for developers who can't use C++ for some reason, a
> typical example would be to add bindings to some other system and/or
> language (pretty much everything has support for C bindings, less so for
> C++).
> 
> So, if you *can* use C++, you should use it. So this development is not
> running 'in parallel', rather, it's running on top of other development.
> 
> Cheers,
> Martin
> 
> On 21.07.2015 04:47, Jason Matusiak via USRP-users wrote:
> we will soon be amending UHD with a C API, and we've just pushed it public for feedback: https://github.com/EttusResearch/uhd/tree/uhd/c-api [1] Martin, will this development be running in parallel to the C++ development, or will this replace it? If someone was starting fresh, would you steer them to one over the other?

_______________________________________________
USRP-users mailing list
USRP-users at lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com [2]

 

Links:
------
[1] https://github.com/EttusResearch/uhd/tree/uhd/c-api
[2] http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150721/ccc7ad5f/attachment-0002.html>


More information about the USRP-users mailing list