Giter Site home page Giter Site logo

easy_grpc's People

Contributors

francoischabot avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

easy_grpc's Issues

Production build process

The current packaged with easy_grpc is basically only suited for testing.

(as a side-note, if we do switch to a header-only library, then this becomes a non-issue.)

Bazel support

While the library and protoc plugin are not exactly hard to compile, everything is CMake-based at the moment.

Consider inverting the service/impl relationship

class Service_impl {
  Future<Reply> Method(const Request& req) {
  };
};

...

int main() {
  pkg::Service::Service<Service_impl> impl_;
  ...
}

This is kinda neat because it gets rid of the extra vtable call. It's not like services are mocked at the service level anyways.

gcov/lcov is having trouble with easy_rpc::Future<>

The problem is that the various handler have to instantiate many methods regardless of wether they are invoked or not for each T. So to get full coverage, every type/handler pair used during testing needs to go trough the finish/fullfull/fail paths, which would require a lot of redundant code...

Consider making the library header-only

On one hand, Now that the dust is settling. There's now that much non-templated code in the project.

On the other hand, once the CMakeLists.txt has proper install/subdirectory inclusion support, the barrier to entry should be low enough.

Conveniently, this would also take care of #2.

I'm open to opinions on this.

Automated port selector for unit tests

Since many tests are opening ports and connecting to them, we need to find a way to stop them from stomping on each other so that we can run them with ctest -j $(nproc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.