discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Developing with C++ but not python


From: Martin Luelf
Subject: Re: [Discuss-gnuradio] Developing with C++ but not python
Date: Mon, 25 Feb 2013 14:50:20 +0100
User-agent: SquirrelMail/1.4.22

> Hi,
>     I think python file means data go downstream without interacting
> with other data stream.And I have seen several example writen in c++ and
> they all contain a gr_top_block which makes them similar to python
> files.Any body have the experience developing in c++?And what you think
> is the major difficulity(except more effort) compared to python?
>     Thanks.


Hi,

I am not completely sure I understood your question, but as far as I can
tell you are concerned about running python next to C++ (I guess for
performance reasons.)

The core GNURadio application, also the top_blocks are C++ code, so all
the data processing and data passing is done in compiled C++ code (Unless
you decide to write blocks in python of course).
Python is only used for setup and connection purposes and use
automatically generated wrappers for the C++ code (so you call shared C++
libraries from python). See also these two FAQs
http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#Why-bother-with-Python-I-just-want-to-code-in-C

Martin




reply via email to

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