Subj : Re: architecture strategy: JSAPI or XPCOM? To : netscape.public.mozilla.jseng From : Jason Date : Mon Mar 07 2005 05:36 am Shanti wrote: > Don't write any compiled code. Use my precompiled JS shell. Try to read > and understand http://www.jsdb.org/samples/readtek.js.txt ah, if only it were that easy... I hadn't considered writing the code in Javascript itself, which would be a definite plus if I were stuck on a desert island w/o a compiler ( :o] ) , but the goal here is to permit reuse among different languages: at a minimum C/C++, MATLAB, Javascript, and Perl, each with minimum "ugliness" for users (e.g. simple black box use if people don't want to get into details). Because of this, the DLL approach is a win for implementation (not to mention the fact that I am writing a GUI monitor program that needs to share resources with other apps that use the DLL: namely the serial port itself and some other shared memory), I just have to figure out how to handle the programmer's interface & JSAPI doesn't look too bad. .