[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C vs LuaJit
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 31 Aug 2010 08:33:44 +0200
On Tue, Aug 31, 2010 at 2:29 AM, Pan Shi Zhu <pan.shizhu@gmail.com> wrote:
> For example, if you have a vanilla lua without any modules, how can
> you do socket communication without writing any C code? how can you
> play music without any C code?
True, but that is why there are semi-standard external libraries like
LuaSocket and LuaFileSystem.
Alien provides a FFI and there are some impressive examples of Lua
speaking to libraries just using that bridge.
The question is more, how can you justify _application_ code in C?