https://opendal.apache.org/ logo
Golang Binding vs C binding
# general
a
Hello. I have a question. Why the go binding should be based on c binding? Is it possible to base it directly on rust binding?
x
Thanks for asking!
The only way for golang to play with other languages is CGO
Alought it's possible for us to build a binding like pyo3 for python, but we don't have such tools now.
a
Thank you for the answer
I just found an article here
Need to deep dive
x
Yep. Integrate pure go with rust still have a lot of work to do which is impossible for now.
a
Is there a team prepared for it? I'm ready for help with go binding
x
We have a tracking issue for golang binding here: https://github.com/apache/incubator-opendal/issues/3205
Our current approach is integrate with golang via CGO (a.k.a opendal c binding). The purego way is still under research.
Welcome to join in if you are intereted in golang binding.
a
Thank you for the answer. I asked because the c bindings are not ready either.
So, I will focus on CGO.
x
Thanks a lot! We can continue the details at github.
2 Views