英文:
Is it possible to make extensions to python/php/perl with Go?
问题
我听说Go语言像是带有通道和许多便利功能的C语言。我很少使用C语言,但当我使用它时,通常是为其他语言创建小型扩展。Go语言是否可以安全地用于创建其他语言的扩展?有人在这样做吗?
英文:
I've heard Go is like C with channels and a lot of conveniences. I do very little C, but when I do it's to make small extensions to other languages. Can Go be a safe way to create extensions in other languages? Are people doing this?
答案1
得分: 7
对于Python,有goPy:https://github.com/qur/gopy
对于Perl,有Campher:https://github.com/bradfitz/campher
对于Lua,有golua:https://github.com/afitz/golua
英文:
For Python there is goPy: https://github.com/qur/gopy
For Perl there is Campher: https://github.com/bradfitz/campher
For Lua there is golua: https://github.com/afitz/golua
答案2
得分: 1
对于PHP,有几个选项:
英文:
For PHP there are a few options:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论