News for hackers. Stuff that matters.
Re:Cap'n Proto 1.0 by kentonv on Friday July 28, 2023 @04:08PM (#36912599)
In the actual implementation, when making a pipelined call on a result X, you actually say something like "Call X.foo.bar.baz()" -- that is, you can specify a nested property of the results which names the object that you actually want to operate on.

At present, the only operation allowed here is reading a nested property, and that seems to solve 99% of use cases. But one could imagine allowing other operations, like "take the Nth element of this array" or even "apply this call to all elements in the array, returning an array of results".

There are no comments on this comment yet.