[Screeninvader] Using luajit to bundle Lua bytecode, instead of objcopy/otool ..
phaer
hello at phaer.org
Sat Mar 14 14:25:34 CET 2015
Hi,
I did not really investigate different lua frameworks, but tried
(and succeeded) to find a quick and dirty way to open a websocket
to janosh without writing too much cpp. A small POC on top of [1]
is on the lounge ScreenInvader.
The general idea was simply to open a socket so that the JS client
could talk directly to Janosh, because there isn't any form of
access control anyway.
I don't have a strong opinion on luvit or similar frameworks, but
its usefulness depends on the question of what you'd like to
implement on the server side. For my ideas, something like [2]
seems to be sufficent.
Using luajit to generate header files looks like a good idea to me.
objcopy, on the other hand, is a part of GNU binutils which are quite
common dev dependencies.
I mistakenly sent this email using an address which is not
subscribed to this list at first, so it's in the moderation queue,
sorry.
[1]: https://github.com/lipp/lua-websockets
[2]: http://stevedonovan.github.io/Penlight/api/manual/01-introduction.md.html
More information about the Screeninvader
mailing list