embed gof3 in a python module
Instead of implementing / duplicating all the gof3 features and functionalities, it would be more convenient to embed the package into pyf3.
-
-buildmode=c-shared
can be used to build a.so
and a.h
from go sources - python cffi can be used to link python to the .h and calling functions
- the F3 API is a list of CRUD operations with
- a URL to, for instance, an issue or a milestone
- a JSON payload
TODO:
-
what happens when the .so
generated from go creates a goroutine?
- 2021 https://github.com/vladimirvivien/go-cshared-examples
- 2021 https://blog.kchung.co/faster-python-with-go-shared-objects/
- 2018 https://github.com/juancarlospaco/gothon#gothon
- 2017 https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf#.n73as5d6d
- 2017 https://hackernoon.com/extending-python-3-in-go-78f3a69552ac
- 2017 https://github.com/nils-werner/python-go-cffi