RFE: .so filters
Florian Pritz
bluewind at xinu.at
Fri Jan 10 21:03:24 CET 2014
On 10.01.2014 18:57, Jason A. Donenfeld wrote:
> On Fri, Jan 10, 2014 at 6:12 PM, Florian Pritz <bluewind at xinu.at> wrote:
>>
>> Isn't this (fast scripting with lots of features) when people normally
>> start using lua?
>>
>
> This would have the same challenges as using .so files, w.r.t. hooking
> write() (or the html functions), but would be very interesting indeed,
> because Lua...
How about using the current fork approach but instead of calling execvp
use lua. I believe forks are pretty cheap on linux, it's the exec that's
costly.
If we do it like that we could reuse stdin/stdout, we could pass
arguments via lua tables (like command line arguments now), but we
should have little overhead for the script loading/executing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140110/bdc10815/attachment.asc>
More information about the CGit
mailing list