Skip to content

Instantly share code, notes, and snippets.

@markmandel
Last active October 9, 2018 18:13
Show Gist options
  • Save markmandel/7e0adbb8141d1c862acba14bad63ed0d to your computer and use it in GitHub Desktop.
Save markmandel/7e0adbb8141d1c862acba14bad63ed0d to your computer and use it in GitHub Desktop.
agones-134

Problem

Our current support for low dependency, cross compilation for the C++ SDK is very poor. Things work on Linux, because of make and not much else. We also have no tests.

Right now, the C++ SDK is built on top of gRPC, which may be adding too many dependencies to be used in a valuable way across platforms?

Code is here: https://github.com/GoogleCloudPlatform/agones/tree/master/sdks/cpp

Requirements

  1. Review the current state of cross complication and dependency with gRPC.
  2. Review the SDK REST api endpoints, and see if that would be a better fit than connecting via gRPC.
  3. Depending on that, prepare a design doc (added here is fine), with the following things in mind:
    1. Ability to cross compile on Linux/Mac/Windows
    2. Add some kind of unit tests, build tests, etc ideally with automation
    3. Anything else that is important to the C++ ecosystem (dependencies?)

Caveat: This is written by @markmandel who has little to no idea about C++ and its ecosystem, so direction on the above is also appreciated.

Research

https://github.com/grpc/grpc/blob/master/src/cpp/README.md#make https://www.appveyor.com https://circleci.com/build-environments/xcode/osx/ https://docs.travis-ci.com/user/reference/osx/

history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment