Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 1998 17:05:42 -0800
From:      Parag Patel <parag@cgt.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, current@FreeBSD.ORG
Subject:   Re: lisp vs. Forth (was Re: New boot loader and alternate  kernels )
Message-ID:  <199811040105.RAA07550@pinhead.parag.codegen.com>
In-Reply-To: Your message of "Tue, 03 Nov 1998 15:19:27 PST." <199811032319.PAA00900@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>Anyone want to cut it "down to size" and see?

Here's the size from the much older v2.9 release just recompiled as ELF:

$ size siod *.o
   text    data     bss     dec     hex filename
  30065     444    3576   34085    8525 siod
    246       0       0     246      f6 siod.o
  17882     140       0   18022    4666 slib.o
   8363       4       0    8367    20af sliba.o
   1149      12       0    1161     489 trace.o

And for comparision, the latest v3.4:

$ size siod *.o 
   text    data     bss     dec     hex filename
  83495     996    3660   88151   15857 siod
   2229      64       0    2293     8f5 md5.o
   1411       4       0    1415     587 sample.o
     89      24       0     113      71 siod.o
  28276     192     108   28576    6fa0 slib.o
  25304      24       0   25328    62f0 sliba.o
  18817      16       0   18833    4991 slibu.o
   1299      16       0    1315     523 trace.o

I'd probably start with the v2.9 version for embedded use.  If you 
can't dig one up, I can put mine up on ftp.codegen.com.

As for Lisp vs Forth, Jordan covered it pretty well.  If you're going 
to do most of the work in C code and just want it callable from the 
interpreter, either will work fine.  Forth lets you get to more 
low-level things, and if built as a byte-coded interpreter, can be 
smaller, but Forth tends to be write-only in large quantities.

Personally, I guess I'd go with FOCAL or BCPL or TECO or some other 
ancient language, just to keep it alive. :-)

The siod v3.4 README has this to say about where to get it:

The most recent version can usually be obtained from
the location http://people.delphi.com/gjc/siod.html or
ftp://ftp.std.com/pub/gjc/siod.tgz

There are probably other places to get it.


	-- Parag


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811040105.RAA07550>