[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-kern
Subject: Re: [patch] put Lua standard libraries into the kernel
From: Justin Cormack <justin () specialbusservice ! com>
Date: 2013-11-29 15:45:49
Message-ID: CAK4o1WyuR=TaUu16NxC8K+3r9hVn4-Oa1J69chW1PxwjXANeWA () mail ! gmail ! com
[Download RAW message or body]
On 29 Nov 2013 14:11, "Lourival Vieira Neto" <lourival.neto@gmail.com>
wrote:
>
> On Fri, Nov 29, 2013 at 10:03 AM, Marc Balmer <marc@msys.ch> wrote:
> > Am 29.11.13 12:38, schrieb Lourival Vieira Neto:
> >>> It will be interesting to see by how much memory the addition of the
> >>> standard libraries will grow lua(4). lneto claims it does not grow at
> >>> all. If it should, we can still move the standard libraries to a
kmod.
> >>
> >> I just double checked now (using nm to confirm). In fact, I was
> >> commenting the wrong portion of the Makefile to test. Sorry about that
> >> =(. Here is the result in amd64: 240K with stdlibs and auxlib, 166K
> >> with only auxlib and 154K solo. Anyway, I still think that is 86K is
> >> not that much to have things like {base, string, table}lib. However,
> >> though I think stdlibs could be in another kmod, I think that is not a
> >> good idea to have auxlib in another one. Lua auxlib is just an
> >> extension of the Lua C API and 12K is really a fair price to have a
> >> more complete Lua library in kernel, IMO.
> >
> > We could for now just go ahead, put auxlib and the stdlibs in lua(4) as
> > foreseen, and when the need arises, we can still factor out the stdlibs
> > to their own kmod.
>
> Agreed. Anyone opposes?
>
Sounds fine.
[Attachment #3 (text/html)]
<p dir="ltr"><br>
On 29 Nov 2013 14:11, "Lourival Vieira Neto" <<a \
href="mailto:lourival.neto@gmail.com">lourival.neto@gmail.com</a>> wrote:<br> \
><br> > On Fri, Nov 29, 2013 at 10:03 AM, Marc Balmer <<a \
href="mailto:marc@msys.ch">marc@msys.ch</a>> wrote:<br> > > Am 29.11.13 \
12:38, schrieb Lourival Vieira Neto:<br> > >>> It will be interesting to \
see by how much memory the addition of the<br> > >>> standard libraries \
will grow lua(4). lneto claims it does not grow at<br> > >>> all. If \
it should, we can still move the standard libraries to a kmod.<br> > >><br>
> >> I just double checked now (using nm to confirm). In fact, I was<br>
> >> commenting the wrong portion of the Makefile to test. Sorry about \
that<br> > >> =(. Here is the result in amd64: 240K with stdlibs and auxlib, \
166K<br> > >> with only auxlib and 154K solo. Anyway, I still think that is \
86K is<br> > >> not that much to have things like {base, string, table}lib. \
However,<br> > >> though I think stdlibs could be in another kmod, I think \
that is not a<br> > >> good idea to have auxlib in another one. Lua auxlib \
is just an<br> > >> extension of the Lua C API and 12K is really a fair \
price to have a<br> > >> more complete Lua library in kernel, IMO.<br>
> ><br>
> > We could for now just go ahead, put auxlib and the stdlibs in lua(4) as<br>
> > foreseen, and when the need arises, we can still factor out the stdlibs<br>
> > to their own kmod.<br>
><br>
> Agreed. Anyone opposes?<br>
></p>
<p dir="ltr">Sounds fine.</p>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic