Git Product home page Git Product logo

capnproto-java-rpc's Introduction

capnproto-java: Cap'n Proto for Java

Build Status

Cap'n Proto is an extremely efficient protocol for sharing data and capabilities, and capnproto-java is a pure Java implementation.

Read more here.

This repository clone adds an implementation of the RPC framework for Java.

Promise pipelining is provided via java.util.concurrent.CompletableFuture. Unlike the KJ asynchronous model, which completes promises only when they are waited upon, a CompletableFuture can complete immediately. This may break E-ordering, as the C++ implementation relies on kj::evalLater() to defer method calls, and there is no obvious (to me, anyway) way to replicate the behaviour of kj::evalLater() with CompletableFutures.

Most of the C++ RPC test cases have been ported to this implementation, which gives me some comfort that the implementation logic is correct, but more extensive testing is required.

This implementation does not support generic interfaces. Extending the schema compiler to output code for generic interfaces is an exercise I leave to the reader.

capnproto-java-rpc's People

Contributors

aarcangeli avatar ajelinski avatar anxtfux avatar arosenberger avatar bchallenor avatar bitstrings avatar dependabot[bot] avatar dwrensha avatar fish2000 avatar gnyiri avatar io7m avatar litghost avatar mdindoffer avatar paxel avatar stromee-admin avatar vaci avatar wdu avatar yamass avatar

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.