I would vote for a static lib since, we can link all other dynamic/shared libs with platform abstraction layer at the time of they are link edited. i.e. build time. Since, it seems me we do not gain any advantage of having them as a shared lib. And dynamic/shared libs add some price to the performance of the applications.
What do you think? thanks -Lilantha -----Original Message----- From: Mark Whitlock [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 6:47 AM To: [email protected] Subject: Fw: Platform abstraction layer thoughts Nadir, +1 to make the platform abstraction layer a separate library. I assume all our current libraries (client, transport, channel, etc) will be linked with the platform abstraction library. In which case, I propose moving trace into the platform abstraction library as well since all libraries need it. Currently trace entrypoints are called by address from the transport, channel, etc libraries, since these libraries are not linked with AxisClient. This makes for horrible code which would be greatly simplified by moving trace into the new platform abstraction library. Mark Mark Whitlock IBM ----- Forwarded by Mark Whitlock/UK/IBM on 24/05/2005 11:35 ----- Nadir Amra <[EMAIL PROTECTED]> To 23/05/2005 20:19 "Apache AXIS C Developers List" <[email protected]> cc Please respond to "Apache AXIS C Subject Developers List" Re: Fw: Platform abstraction layer thoughts Mark, I prefer that the platform abstraction layer is in a seperate library. Any small functions, when it makes sense, can always be defined as inlined, no? Nadir K. Amra Mark Whitlock <[EMAIL PROTECTED]> wrote on 05/19/2005 04:30:41 AM: > > > > > Hi Nadir, > +1 to putting all platform-specific code in the platform abstraction layer. > > The disadvantage of linking the platform-specific code into a separate > library is that it stops the compiler from optimising small functions by > inlining them. I guess the platform-specific layer is likely to be full of > such small functions. The advantage of linking the platform-specific code > into a separate library is that the transport, channel and XML parser > libraries could all link with the PS library (since they are not linked > with the AxisClient library). > > Which do you prefer? > Mark > Mark Whitlock > IBM > _______________ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.
