Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!helios.ee.lbl.gov!pasteur!dogwood.Berkeley.EDU!faustus From: faustus@dogwood.Berkeley.EDU (Wayne A. Christopher) Newsgroups: comp.lang.c++ Subject: Linking C++ into Lisp Message-ID: <15363@pasteur.Berkeley.EDU> Date: 11 Jul 89 18:53:39 GMT Sender: news@pasteur.Berkeley.EDU Lines: 19 We're writing a large application that will probably be partly Allegro Common Lisp and partly GNU C++. I have a few questions for anybody who has done this sort of thing. Are there any problems calling C++ code using the foreign function interface, assuming it is declared extern "C"? C++ has a special crt0.o, which, for one thing, calls constructors and destructors for external instances. If I don't have any of these, will there be any problem with dynamically loading C++ code into Lisp? How about the tables used by virtual functions? Are these global, or just done in-line? Is the C++ heap storage manager likely to interfere with Lisp's storage allocation? Any other pitfalls to watch out for? Thanks, Wayne