> 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


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to