Hacker News new | past | comments | ask | show | jobs | submit login

No, LuaJIT has an ffi interface with support for any type, and you can just use them as if they are native types.



Seems a bit like cheating if you do it that way, though.


Its not really, they are just native types, but defined with a C syntax so they are compatible with C. The code generation knows about them natively and optimises them.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: