Question about embedding and memory handling
2007-05-01 06:59:39 GMT
Hi, on another list there was some questions which I can't answer by my self about neko: --- > >1) It must always test results of its internal operations, such as > > malloc, and return error. lua simply exit()s when memory is over. > > http://www.nekovm.org/doc/ffi#managing_memory There's no mention how neko tests results in its internals. --- I think this will be handled by GC but what happens?! 1.) Exceptions 2.) Segfault, I don't think so(Continue reading)3.) ??? --- > >3) It should support non-blocking oprations, such as > > > > v = get_variable(...) > > if (v == NOT_READY) ... --- I think this could be done with threads but I'am not sure. The point here is:
3.) ???
---
> >3) It should support non-blocking oprations, such as
> >
> > v = get_variable(...)
> > if (v == NOT_READY) ...
---
I think this could be done with threads but I'am not sure.
The point here is:
RSS Feed