Hacker News new | past | comments | ask | show | jobs | submit login

It is possible to include CPython in a CGO program - allowing Python to be executed from within the CGO process directly. This comes with some complexities - GIL and thread safety in Go routines, complexity of cross-compiling between architectures, overhead in copying values across the FFI, limitations of integrating as a Go module. I am hoping to see a CGO GIL'less Python integration show up here at some point that has all the answers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: