lua-users home
lua-l archive

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

I have recently learned that V8, Google's embeddable JavaScript engine
[1], "doesn't (consistently) handle oom situations but expects the
allocator to crash the process if it can't fulfill a request".

How does Lua handle a memory allocation failure? When embedded, does
it also expect/require the hosting process to crash? Or does it
consistently return an error, allowing the hosting process the
possibility of recovery?