Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用 Go 实现核心功能会有问题吗 #57

Closed
mofadeyunduo opened this issue Nov 4, 2019 · 2 comments
Closed

用 Go 实现核心功能会有问题吗 #57

mofadeyunduo opened this issue Nov 4, 2019 · 2 comments

Comments

@mofadeyunduo
Copy link

mofadeyunduo commented Nov 4, 2019

核心算法底层由C++实现,性能高效

为什么这么说?是因为内存释放的问题吗?

@yanyiwu
Copy link
Owner

yanyiwu commented Nov 4, 2019

用 Go 实现核心功能会有问题吗?没有问题。
只是说c++目前来看,性能还是高于golang。但是可能差距也没那么大。具体需要评估。

@mofadeyunduo
Copy link
Author

thx,提这个问题主要是因为公司想用一个比较纯的 golang 去实现,毕竟官方也说了,用 cgo 不是一个很好的做法(不像是在用 go 语言),除非在迫不得已的情况下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants