2 ms·
>In what way does Lua interact with the outside world? Lua's C API allows Lua programs to bind to any C library. It's probably better at this than anything els
by scythe 12y ago
>In what way does Lua interact with the outside world?
Lua's C API allows Lua programs to bind to any C library. It's probably better at this than anything else out there, and there have been some attempts at really ambitious things like automatically generated Qt bindings: https://github.com/mkottman/lqt https://github.com/mkottman/lqt
>in what way does Swift work with the outside world?
Swift uses the Objective-C runtime. It interoperates with Objective-C very well and is designed to do so; by definition this means it also interoperates with C quite well. See:
http://en.wikipedia.org/wiki/Swift_(programming_language)#Libraries.2C_runtime_and_development http://en.wikipedia.org/wiki/Swift_(programming_language)#Li...