From owner-freebsd-libh Mon Oct 23 13:40:58 2000 Delivered-To: freebsd-libh@freebsd.org Received: from oberon.dnai.com (oberon.dnai.com [207.181.194.97]) by hub.freebsd.org (Postfix) with ESMTP id 0725F37B479 for ; Mon, 23 Oct 2000 13:40:47 -0700 (PDT) Received: from azoth.dnai.com (azoth.dnai.com [207.181.194.94]) by oberon.dnai.com (8.9.3/8.9.3) with ESMTP id NAA13405; Mon, 23 Oct 2000 13:40:46 -0700 (PDT) Received: from acm.org (207-172-123-229.s483.tnt1.sfrn.ca.dialup.rcn.com [207.172.123.229]) by azoth.dnai.com (8.9.3/8.9.3) with ESMTP id NAA71067; Mon, 23 Oct 2000 13:40:45 -0700 (PDT) Message-ID: <39F4A24B.F421AF5B@acm.org> Date: Mon, 23 Oct 2000 13:40:43 -0700 From: Tim Kientzle Reply-To: kientzle@acm.org X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jordan Hubbard , libh@freebsd.org Subject: Re: BOF at BSDCon: FreeBSD Installer, Packages System References: <7131.972327788@winston.osd.bsdi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jordan Hubbard wrote: > Well, fortunately, TCL is both compact ... and well-known to many. My impression is that most of the "off-the-shelf" script languages (Python, Perl, Tcl, etc, etc) started off small but have since become quite bloated. I just compiled a short C program (given below) with an embedded Tcl interpreter and got a 530k stripped executable. Is that acceptable for sysinstall? #include #include int main(int argc, char **argv) { char *script = "set a 44"; Tcl_Interp * interp = Tcl_CreateInterp(); int result = Tcl_Eval(interp,script); puts(interp->result); if(result != TCL_OK) exit(1); exit(0); } > Forth ... has such an acceptance problem ... Likewise > lisp ... is a pretty hard sell ... True, which is why I didn't push either one. I spent a few years doing Forth development and really liked it, but I've learned not to champion it too loudly. > As to BASIC, well, ICK. ... Apparently, another hard sell. ;-) I was thinking, of course, of the more modern structured BASIC implementations (Visual Basic is the best-known) which draw heavily on Pascal and C. (Perl is heavily influenced by structured Basic, for example.) If Tcl is sufficiently compact, it's a good choice (even despite it's somewhat "unique" syntax); I'm just not sure that the current Tcl systems are sufficiently compact. (I guess you could dig up an old version...) - Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message