For a mobile or desktop app there is no particular benefit in running a socket-based server

Sure. And on top of it, you are by no means bound to sockets. The modular protocol/transport stack makes it possible, that's one of the really nice things about Thrift.

For example, a stream transport is supported by a number of languages. It basically serializes and deserializes the data into and from a variable-sized buffer, not much magic behind. The buffer can be passed easily to the other side, and vice versa.

Have fun,
JensG


-----Ursprüngliche Nachricht----- From: David Bennett
Sent: Monday, September 14, 2015 3:57 AM
To: [email protected]
Subject: Thrift as an in-process server?

Is it possible to use Thrift for in-process cross-language marshalling?

For a mobile or desktop app there is no particular benefit in running a socket-based server, and it's much easier to install and start up an app that makes an in-process call to a dynamic library.

So is this possible?

Regards
David M Bennett FACS

Andl - A New Database Language - andl.org


Reply via email to