From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-1122-garchives=archives.gentoo.org@gentoo.org>)
	id 1GB3QA-00003u-N1
	for garchives@archives.gentoo.org; Thu, 10 Aug 2006 05:49:31 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7A5m8JZ013704;
	Thu, 10 Aug 2006 05:48:08 GMT
Received: from mail47.e.nsc.no (mail47.e.nsc.no [193.213.115.47])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7A5m7Q9028455
	for <gentoo-embedded@lists.gentoo.org>; Thu, 10 Aug 2006 05:48:07 GMT
Received: from mail.nor.wtbts.org ([213.234.126.131])
	by mail47.nsc.no (8.13.7/8.13.5) with ESMTP id k7A5m6vl003130
	for <gentoo-embedded@lists.gentoo.org>; Thu, 10 Aug 2006 07:48:06 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail.nor.wtbts.org (Postfix) with ESMTP id 60AB540D05
	for <gentoo-embedded@lists.gentoo.org>; Thu, 10 Aug 2006 07:48:06 +0200 (CEST)
Received: from mail.nor.wtbts.org ([127.0.0.1])
	by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 20719-06 for <gentoo-embedded@lists.gentoo.org>;
	Thu, 10 Aug 2006 07:48:06 +0200 (CEST)
Received: from nc.nor.wtbts.org (unknown [192.168.65.211])
	by mail.nor.wtbts.org (Postfix) with ESMTP id 0F9543FA06
	for <gentoo-embedded@lists.gentoo.org>; Thu, 10 Aug 2006 07:48:06 +0200 (CEST)
Subject: Re: [gentoo-embedded] busybox + python questions
From: Natanael Copa <natanael.copa@gmail.com>
To: gentoo-embedded@lists.gentoo.org
In-Reply-To: <200608092105.59262.philippe@gcal.net>
References: <200608091836.10080.philippe@gcal.net>
	 <200608091939.01593.vapier@gentoo.org>
	 <200608092105.59262.philippe@gcal.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 10 Aug 2006 07:48:05 +0200
Message-Id: <1155188886.26542.12.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.6.2 
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k7A5m8KM013704
X-Archives-Salt: 4d516156-1318-4cfe-8d5a-3c831d6479ce
X-Archives-Hash: c131a70163f93d66cbc242fed8ea5356

On Wed, 2006-08-09 at 21:05 -0400, Philippe Cl=E9ri=E9 wrote:

> > it's your system so only you know if you really need python
> >
>=20
> I was hoping to do the web interface with python. I knew there was goin=
g to be
> a penalty, I hadn't expected it to be so bad. I would like to stay unde=
r 16MB
> for the root ramdisk, but it looks like it's damn near impossible with
> python.
>=20
> Time to look for alternatives.

Ruby on rails is like 10MB on my hardened embedded system.

PHP with almost no use-flags turned on takes 3.6MB.

Lua is even smaller. 700KB. There is a lua web framework called Kepler
that should be pretty small. Its not in portage yet (and build scripts
are ugly)

Lua makes it also pretty good on the Computer Language Shootout:
http://shootout.alioth.debian.org/gp4/lua.php

If you want to make it really small you can look at haserl. It's
embedded shell.
http://haserl.sourceforge.net

--
Natanael Copa

--=20
gentoo-embedded@gentoo.org mailing list