[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua error handling and C++
- From: Glenn Maynard <glenn@...>
- Date: Fri, 13 Oct 2006 22:12:23 -0400
On Sat, Oct 14, 2006 at 02:00:16AM +0000, David Manura wrote:
> Glenn Maynard <glenn <at> zewt.org> writes:
> > How are people dealing with error handling in C++?
>
> There is some discussion on this topic here:
>
> http://lua-users.org/wiki/ErrorHandlingBetweenLuaAndCplusplus
>
> Improvements are welcome.
I don't have any ideas. Unfortunately, the whole thing assumes that
exceptions are always OK in C++. In my experience, they usually aren't.
I've seen binaries shrink by over a meg by disabling exceptions, which
I think is just too much waste, even when targetting modern systems.
--
Glenn Maynard