- 18 Jun, 2019 1 commit
-
-
Kenton Varda authored
This can be used on a method to indicate that it is used for "streaming", like: write @0 (bytes :Data) -> stream; A "streaming" method is one which is expected to be called many times to transmit an ordered stream of items. For best throughput, it is often necessary to make multiple overlapping calls, so as not to wait for a round trip for every item. However, to avoid excess buffering, it may be necessary to apply backpressure by having the client limit the total number of overlapping calls. This logic is difficult to get right at the application level, so making it a language feature gives us the opportunity to implement it in the RPC layer. We can, however, do it in a way that is backwards-compatible with implementations that don't support it. The above declaration is equivalent to: write @0 (bytes :Data) -> import "/capnp/stream.capnp".StreamResult; RPC implementations that don't explicitly support streaming can thus instead leave it up to the application to handle.
-
- 06 Nov, 2014 1 commit
-
-
Kenton Varda authored
-
- 20 Jun, 2014 1 commit
-
-
Kenton Varda authored
For portions currently copyright by Kenton (most of it), transfer copyright to Sandstorm Development Group, Inc. (Kenton's company). The license change is practically meaningless, as MIT and BSD 2-clause are legally equivalent. However, the BSD 2-clause license is sometimes confused for its ugly siblings, BSD 3-clause and BSD 4-clause. The MIT license is more immediately recognizeable for what it is. Rémy Blank and Jason Choy (the two non-trivial contributors) are on record as approving this change: https://groups.google.com/d/msg/capnproto/xXDd2HUOCcc/gbe_COIuXKYJ
-
- 08 Nov, 2013 1 commit
-
-
Kenton Varda authored
Implement two-party network. The first RPC call over a socket took place at 2013-11-08 14:46:43 -0800 and completed successfully.
-
- 15 Aug, 2013 1 commit
-
-
Kenton Varda authored
-
- 09 Aug, 2013 3 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
Switch to the new compiler. All tests pass\! Need to submit bootstrap copies of the generated code used by the compiler itself. These bootstrap copies are still built by the old compiler at the moment.
-
- 06 Jun, 2013 1 commit
-
-
Kenton Varda authored
-
- 19 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 05 Apr, 2013 1 commit
-
-
Kenton Varda authored
-
- 30 Mar, 2013 1 commit
-
-
Kenton Varda authored
-
- 14 Mar, 2013 1 commit
-
-
Kenton Varda authored
-
- 12 Mar, 2013 1 commit
-
-
Kenton Varda authored
Basic code generation starting to work. My machine just did something weird so I'm submitting and pushing in case of imminant hardware failure...
-