Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java or Clojure binding support #46

Open
BooBSD opened this issue Oct 29, 2015 · 3 comments
Open

Java or Clojure binding support #46

BooBSD opened this issue Oct 29, 2015 · 3 comments
Assignees
Labels
help wanted wishlist Wishlist features

Comments

@BooBSD
Copy link

BooBSD commented Oct 29, 2015

Hi guys,
Are you planning to realize Java (or maybe Clojure) binding support?
That would be very useful.
Thanks.

@guruofquality
Copy link
Contributor

I think more language bindings are a good idea.

Currently we are using swig for the python bindings. I don't love swig, but its doing a good job of automatically wrapping the many API calls automatically. Then there is some customization around the streaming API to deal with pointers, return by reference, and numpy arrays: https://github.com/pothosware/SoapySDR/tree/master/python

I imagine that a very similar java/ directory could handle the java bindings (using swig and some custom code around the streaming to properly use java arrays). And then clojure is covered by the java bindings? http://clojure.org/java_interop

@guruofquality
Copy link
Contributor

There's a pretty strait forward example of java swig cmake here: https://github.com/ptitpoulpe/cmake-swig-java-example It definitely has more boiler plate than I expected, and it needs some path fixes to handle out of tree builds... but otherwise it seems formulaic. If any one is interested in getting some basic swig (or something else) bindings working for java, I wouldn’t mind joining in to help polish it off, and work through some of the more complicated parts if needed.

@guruofquality guruofquality added the wishlist Wishlist features label Jun 1, 2018
@ncorgan ncorgan self-assigned this Jan 28, 2022
@ericek111
Copy link

Here's my attempt (WIP): https://github.com/ericek111/JSoapy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted wishlist Wishlist features
Projects
None yet
Development

No branches or pull requests

4 participants