bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-zile] Re: zile-2.4.0alpha1 released [alpha]


From: Gary V. Vaughan
Subject: Re: [Bug-zile] Re: zile-2.4.0alpha1 released [alpha]
Date: Sat, 02 Apr 2011 12:37:09 -0700
User-agent: RoundCube Webmail/0.3.1

On Fri, 1 Apr 2011 20:54:02 +0200, Ulrich Mueller <address@hidden> wrote:
>>>>>> On Fri, 25 Mar 2011, Reuben Thomas wrote:
> 
>> I am excited to announce the first public release of GNU Zile in
>> Lua! Based on work going back to 2007, I've been working for the
>> past two years on translating Zile from C into Lua.
> 
> From a distro point of view, this will considerably increase Zile's
> footprint: A 2.3.23 installation requires 270 kB of disk space on an
> amd64 system, whereas for Zile plus Lua it will be about 1.5 MB.

Not at all. On my 64-bit Core 2, squishy easily reduces the lua code
for zile to under 100k, and I can get it under 35k with all the stops
pulled out.  Add in the lua runtime (248k), with the handful of C
modules Zile depends on (130k), and the lisp code (5k)... that comes
to 418k all in. (squishy file attached)

A distro that wants to really keep everything small would likely find
compiling a dedicated static lua with just the functions Zile uses
from the supporting libs and with minified lua code embedded therein
wouldn't have a great deal of trouble trimming back to under 300k again
IMHO.

> Could you indicate what other packages are needed as prerequisites?
> I've tried with lua-5.1.4 and the following packages from luaforge:
>    
>    luaposix-5.1.9
>    luancurses-0.01
>    luabit-0.4
>    lrexlib-2.5.3

I can't get lrexlib to compile on my Mac without exploding at load
time, so I currently have the calls stubbed out in rex_gnu.lua. Aside
from that everything is working well for me with:

    http://github.com/rrthomas/luaposix
    http://github.com/rrthomas/lcurses
    http://bitop.luajit.org/download.html

(Actually, I've forked the first two and patched lightly for better
Mac compatibility... but that won't affect you on Linux)

HTH,
-- 
Gary V. Vaughan (gary AT gnu DOT org)

Attachment: squishy
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]