[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is Lua stable? (Was: Strange Operators (Was: Why I leave Lua (Was: Re: [ANN] Lua 5.3.0 (work3) now available)))
- From: Eric Wing <ewmailing@...>
- Date: Thu, 10 Jul 2014 19:28:06 -0700
On 7/10/14, Alex Szpakowski <firstname.lastname@example.org> wrote:
> Eric Wing wrote
>> One thing I still would like to see is Lua's exception handling
>> (implementation detail) refactored in a way that allows me to more
>> easily change it so I can make it use Apple's Obj-C @try/@catch
>> exception mechanism without compiling all of Lua as Obj-C.
> Cocoa isn't exception-safe, FWIW.
There are real world cases that come up where it is invaluable to
catch an exception thrown by Cocoa. (Usually dealing/working around
Also, when you do things like REPL with Lua + Cocoa, it is extremely
valuable that the Lua interpreter know an exception is thrown.
Otherwise things can get really messed up otherwise the Lua state
thinks you are still in one place, while in reality everything jumped
Beginning iPhone Games Development