[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] [GREP] Replace SWIG
From: |
Andrej Rode |
Subject: |
Re: [Discuss-gnuradio] [GREP] Replace SWIG |
Date: |
Wed, 9 Jan 2019 17:07:30 +0100 |
Hi,
On Fri, 28 Dec 2018 17:30:05 -0800
Martin Braun <address@hidden> wrote:
> Here's a summary of of comments that have come up in chat:
>
> - Andrej recommended using PyBind11, a close cousin to boost.python.
> it comes recommended by Sebastian Koslowski also. It's only a few
> headers and we could ship it as part of the source tree.
> - The question arose if we even need the python bindings as part of
> the standard install. Personally I think we do, installing GNU Radio
> from source should simply give you all the features. But it's a good
> thing to discuss.
Development of Python bindings with PyBind11 could even happen in a
separate CMake project since the only thing required for Python
bindings are available headers and shared libraries. Since that could
be easier on new developers.
I agree that currently most users are using Python as development
environment and we should ship the bindings with GNU Radio itself.
Also we had a discussion on generation of bindings and I don't see a
need of automatically generated bindings during each build. Maybe a
first generation can be done using binder[0]. But since that is a
separate tool I wouldn't want to depend on that to generate the sources.
Rather add the bindings during code review (or have a checkbox to check
for that during code review).
Cheers
Andrej
[0] https://github.com/RosettaCommons/binder
- Re: [Discuss-gnuradio] [GREP] Replace SWIG,
Andrej Rode <=