mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob Landley <rob@landley.net>
To: musl@lists.openwall.com
Cc: musl@lists.openwall.com, Justin Cormack <justin@specialbusservice.com>
Subject: Re: Squirrel - no-bloat scripting language with sane syntax and semantics
Date: Mon, 26 Aug 2013 19:35:05 -0500	[thread overview]
Message-ID: <1377563705.2737.133@driftwood> (raw)
In-Reply-To: <20130826235911.GF20515@brightrain.aerifal.cx> (from dalias@aerifal.cx on Mon Aug 26 18:59:12 2013)

On 08/26/2013 06:59:12 PM, Rich Felker wrote:
> On Mon, Aug 26, 2013 at 05:18:43PM -0500, Rob Landley wrote:
> > On 08/25/2013 10:03:33 AM, Justin Cormack wrote:
> > >On Sun, Aug 25, 2013 at 10:34 AM, Rob Landley <rob@landley.net>  
> wrote:
> > >> Normally people use lua for this, which has around 100k of
> > >interpreter.
> > >>
> > >> The downside of lua is it doesn't have a full standard posix C
> > >binding
> > >> library. (It has a nonstandard one you can add on, but when I
> > >looked at
> > >> writing a busybox clone in it, I needed to install something
> > >like 7 packages
> > >> to get all the libraries I needed. Then again, most people aren't
> > >> implementing their own "ifconfig", "mount", and "taskset"...)
> > >
> > >I have implemented ifconfig, mount etc in Lua (the APIs, not the
> > >commands), see https://github.com/justincormack/ljsyscall - its  
> pretty
> > >comprehensive now.
> >
> > While nice, this is another library that's not included in the base
> > lua package. A library to implement raw system call bindings, which
> 
> The whole point of lua is to be an embeddable language, the key
> prerequisite for which is that it does not give the embedded script
> access to the host application or system. From a security standpoint,
> the way lua does it (nothing available by default; application must
> provide anything it wants to provide) is the only way that's even
> tolerable. I agree this makes lua less convenient for many purposes,
> but it makes it basically the only choice for its original advertised
> purpose.

I agree it's good at what it does. But I was looking for a clean  
lightweight general purpose scripting language, which it could have  
been but chose not to be.

Rob

  reply	other threads:[~2013-08-27  0:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 21:11 Paul Sokolovsky
2013-08-24  8:29 ` Luca Barbato
2013-08-24 11:29   ` Paul Sokolovsky
2013-08-25  9:34 ` Rob Landley
2013-08-25 15:03   ` Justin Cormack
2013-08-26 22:18     ` Rob Landley
2013-08-26 23:59       ` Rich Felker
2013-08-27  0:35         ` Rob Landley [this message]
2013-08-25 15:18   ` Ivan Kanakarakis
2013-08-25 19:40   ` Paul Sokolovsky
2013-08-25 20:00   ` Matias A. Fonzo
2013-08-25 20:10     ` Rich Felker
2013-08-31 18:39     ` Daniel Cegiełka
2013-09-01 22:43       ` Matias A. Fonzo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1377563705.2737.133@driftwood \
    --to=rob@landley.net \
    --cc=justin@specialbusservice.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).