Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But... Lua is a register-based VM since like Lua 5.

Not disputing that Rio Lua is also an excellent work though. Lua 5.1 only has 38 opcodes total. A complete description of how the VM works fits on a page or so.



D'oh, my mistake. The VM is, indeed, register-based. The C API is stack-based. But yes, a very lovely bit of code all together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: