https://github.com/go-python/gopy can manage the python bindings for you
automatically. The bigger issue for ML is GPU. I wrote a gosl (Go shader
language) package that converts Go to hlsl which can be compiled in vulkan for
compute shaders -- works well for my needs:
After reading briefly about ML and how Python is used as a "veneer" for C++
code, I was wondering why Go is not used as the backend, given it's
excellent concurrency support and ease of use.
Basically, I was thinking if the backend is written as a shared object in
Go, and then used in Python