Re: [Opentnl-general] Porting Question
Brought to you by:
mark_frohnmayer,
s_alanet
From: John W. <ca...@mm...> - 2004-10-27 00:33:06
|
Mark Frohnmayer wrote: > Hi Boris, > > The one gotcha for TNL as far as multiplatform capability is that the > RPC mechanism uses specialized assembly language functions to read > stack arguments and then dispatch the function call on the remote > host. I'm currently working on a version of that code that uses > templates instead, that should be totally cross-platform. What > platforms are you looking at porting to? > > You can look at tnlMethodDispatch.cpp/.h for the architecture specific > assembly code. > One of the more attractive aspects (at least in my ideas for the OpenATC protocol) is the use of the RPC mechanisms. For the interested reader, see Chap 18 in Unix Network Programming by Stevens to better understand the problems and pitfalls in implementing RPCs. 100% cross-platform compatibility is a goal, not an absolute. Regards John W. |