英文:
Can i use CGo on Google App Engine?
问题
我正在使用CGo来开发一个数值计算的Web应用程序,发现CGo的速度更快。我想知道是否可以在Google App Engine的Go运行时中使用CGo。
英文:
So I was using CGo for a number crunching web app and it happens that CGo seems faster. Is there any that I can use CGo on Google App Engine Go runtime.
答案1
得分: 5
不。CGo目前还不支持,也许永远不会支持。毕竟这是一个平台即服务(PaaS)的环境,他们需要隔离平台。但是你永远不知道,也许会有一个受限制的版本。
英文:
Nope. CGo is not supported yet, and perhaps never will. This is PaaS
after all and they need to isolate the platform. But you never know. Perhaps a restricted version.
答案2
得分: 3
这是一个支持在App Engine上使用Go 1.11的链接:https://gist.github.com/apstndb/456e47ce0dcca191d967aefed1320b92
我知道这是一个旧问题,但它仍然是热门结果之一,所以我只是为了给现在正在搜索相关信息的人添加一些内容。
英文:
It is supported on App engine Go 1.11
https://gist.github.com/apstndb/456e47ce0dcca191d967aefed1320b92
I know it is an old question but it is still in top results, so just added for any one searching for it now
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论