On Mon, Apr 21, 2014 at 03:12:06PM +0800, Peng Zhicheng wrote: > btw, could you please explain more about your proposol of "ID" API? I can't think up > a proper Lua side API or syntax for such situations. I'm not fan of ID-based APIs either, but apparently there are people using it: http://www.altdevblogaday.com/2011/01/26/managing-decoupling/ http://webcache.googleusercontent.com/search?q=cache:JACfSeBgmOgJ:bitsquid.blogspot.com/2011/06/lightweight-lua-bindings.html&strip=1