Re: [xplc-general] C binding implementations
Cross-platform lightweight components
Status: Alpha
Brought to you by:
pphaneuf
From: Avery P. <ape...@ni...> - 2005-08-25 16:09:27
|
On Thu, Aug 25, 2005 at 11:55:32AM -0400, Pierre Phaneuf wrote: > There *is* a platform dependent part that will need to be built > eventually, which is a foreign function call layer, so that we can build > stack frames and call into interfaces (so that we can call into any XPLC > interfaces from scripting languages), as well as provide a proxy > interface that will disassemble it's stack frames (so that scripting > languages can implement XPLC interfaces). This layer could be shared by > any scripting language binding. See Mozilla's xptcall: > > http://www.mozilla.org/scriptable/xptcall-faq.html My xplcidl actually implements this in a different way, avoiding the horrible pain of manipulating stack frames and other stuff... but potentially with a performance penalty. (Hey, you're in a scripting language, how much worse can it be?) Have fun, Avery |