lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> It worked for him, but there are size and performance penalties with C++
> exceptions.  The only alternative (that I know) is to take extra care
> with your C++ code.

That depends a lot on your C++ compiler; it is not always drastic.

The other alternative (if you have access to the source code for your
C++ libraries) is to use the Boehm&al conservative garbage collector
and not worry about freeing. (See this thread on gclist for issues
with STL: http://lists.tunes.org/archives/gclist/2003-May/002460.html)