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

suggest:build each module to dll/so #29

Closed
sunwangme opened this issue May 7, 2016 · 2 comments
Closed

suggest:build each module to dll/so #29

sunwangme opened this issue May 7, 2016 · 2 comments

Comments

@sunwangme
Copy link

sunwangme commented May 7, 2016

dll/so will save time when build. now, too long...

@sunwangme sunwangme changed the title suggest:just support c suggest:build each module to dll/so May 7, 2016
@therecipe
Copy link
Owner

Hey

Did you run the setup.bat / setup.sh ?
It will install the packages (15 min - one time), so that you can build you application in less than 1 min.

I have a few concerns, regarding dynamic libs.

  1. Currently the c/c++ part is around 30% and therefore you would still have to compile/install the 70% go code.
  2. They will probably result in an even bigger total application size.
  3. I would have to upload them every time I make a commit. (dll's / so's for windows/mac/linux/android)
  4. I personally don't like to link agains an unknown pre build binary and assume other people feel the same way.

So, I currently don't see any benefits.

But there is a proposal for go 1.7, which allows you to distribute binary go packages.
Then it should be possible to skip the 15 min one time install phase.

I will reconsider this issue, once go 1.7 is out.

@sunwangme
Copy link
Author

ok

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