3 ms·
Has anyone tried to integrate Go with Python? Right now, optimizing Python code by replacing critical sections with C works really well and isn't too hard to w
by rlpb 13y ago
Has anyone tried to integrate Go with Python?
Right now, optimizing Python code by replacing critical sections with C works really well and isn't too hard to write or distribute.
How well would tooling around doing the same thing with Go work?
- sprash 13y agoThat won't help you much with concurrency problems, however "multiprocessing" does.
- akavel 13y agoHaven't tried any of them, but I remembered there are some, so after quick googling: https://github.com/sbinet/go-python https://github.com/sbinet/go-python https://github.com/qiniu/py https://github.com/qiniu/py https://github.com/qur/gopy https://github.com/qur/gopy
- est 13y agouWSGI with CPython and Go workers, with RPC each other. http://uwsgi-docs.readthedocs.org/en/latest/Go.html http://uwsgi-docs.readthedocs.org/en/latest/Go.html