-
Notifications
You must be signed in to change notification settings - Fork 27
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
Implement native (no-swig) Go bindings #25
Comments
/cc @williballenthin |
I'll admit going is slower than is desirable, but you can review current progress here: https://github.com/williballenthin/valabind/blob/gowriter/gowriter.vala. The major holdup is the fact that Go does not support generic types, so correctly handling container types involves discovery of the potential "specializations" of a generic type, and additional code generation. |
Cool! I was looking for news about your proposal on writing that backend. I would like to merge your changes into master before release, even if generics are not supported by the language and this requires some rework on the writer side I guess that basic examples like from asm or core using the cmdStr functions should be working. There are other bindings that does not support generics in valabind, and in fact there's only just one type per generic linked list used. Also, there are some helpers for doing automatic casting in r2 api to help incomplete bindings to work, so it may be useful to have them as an initial support for go without swig for the upcoming 0.9.8 release. Thanks
|
Do you have a forked radare2-bindings repo too with the makefile to build with this?
|
currently just working against small test cases in the |
Can you send a pullreq?
|
sent. Haven't been able to dev recently as I'm in the middle of a move. I would hope this to settle down in around a week or two. |
its ok for you if i squash all those commits into a single one? On 31 Jul 2014, at 18:45, Willi Ballenthin [email protected] wrote:
|
Of course |
@williballenthin any update on this? |
no update. haven't worked on this project in a while. turned out to be harder than i thought (or more probably, knew Go less than i thought). unfortunately, i don't expect to complete this project, as other things have come up. |
Thanks for the update. Im currently not priorizing the native bindings for this release. And Go is not my main programming language, so maybe we can find some time for this next year. Also, go 1.5 introduced shared libraries support which can be an interesting approach for this.
|
ping? |
@williballenthin are you still there? |
hi @radare i'm still alive. Unfortunately, I don't expect to have cycles to work on this feature. Its best to re-assign to someone else. |
No description provided.
The text was updated successfully, but these errors were encountered: