risc or cisc
Martin Pool
mbp at sourcefrog.net
Fri Apr 17 03:05:29 BST 2009
2009/4/16 Ian Clatworthy <ian.clatworthy at internode.on.net>:
> I think the language can be very simple. There are 2 key features
> required to minimise round-trips in my experience:
> 1. parameter chaining - passing the result of one RPC into a latter
> RPC in the block
>
> 2. conditional execution.
>
> That's not to rule out looping and other magic but they aren't
> typically needed in the initial implementation. And if you need
> *that* complexity, sometimes it's worth just adopting some existing
> template technology from the web space (and paying the xml parsing
> cost) than rolling your own.
I think coping with different client and server versions is also going
to be an interesting issue - possibly more so than in other
applications where the product is releasing more slowly, or where the
client and server are kept in sync. It's already something we have to
deal with, and handle reasonably but perhaps not optimally, and since
we're trying to have fewer roundtrips either asking for the server
version up front, or bouncing the whole request may be suboptimal.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list