Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2001 15:35:32 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        FreeBSD Fanatic <freebsd@KIWI-Computer.com>
Cc:        current@FreeBSD.org, msmith@mass.dis.org
Subject:   Re: HEADS UP: ACPI CHANGES AFFECTING MOST -CURRENT USERS 
Message-ID:  <200109062235.f86MZWo03577@mass.dis.org>
In-Reply-To: Message from FreeBSD Fanatic <freebsd@KIWI-Computer.com>  of "Thu, 06 Sep 2001 00:53:21 CDT." <200109060553.f865rLE65613@KIWI-Computer.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Show us a suitable LISP interpreter, then.
> > 
> > $ cd ~/lang/Scheme/tinyscm-1.27
> > $ size scheme 
> >    text    data     bss     dec     hex filename
> >   61342    4476    3480   69298   10eb2 scheme
> 
> Is that statically-linked?  I'm curious to know the size of the bootloader
> forth footprint.  The loader is about 150k, so I'm sure you could probably
> fit a nice Scheme interpreter in under that size... ??

mass:/usr/obj/local0/build/src/sys/boot/ficl>size libficl.a 
   text    data     bss     dec     hex filename
    105    3968       0    4073     fe9 softcore.o (ex libficl.a)
    296       0       0     296     128 sysdep.o (ex libficl.a)
  20636     268       0   20904    51a8 words.o (ex libficl.a)
   4472      12       0    4484    1184 tools.o (ex libficl.a)
   1684       0       0    1684     694 search.o (ex libficl.a)
    856       0       0     856     358 math64.o (ex libficl.a)
   2200      64       0    2264     8d8 vm.o (ex libficl.a)
   2804       0       0    2804     af4 loader.o (ex libficl.a)
    624      12       0     636     27c prefix.o (ex libficl.a)
    840       0       0     840     348 stack.o (ex libficl.a)
   2468      16       0    2484     9b4 ficl.o (ex libficl.a)
   2620       0       0    2620     a3c dict.o (ex libficl.a)

ie. almost all of the size is the dictionary/runtime library.

It's quite hard to beat this, and to be frank, Scheme's syntax is not much
better than Forth's. 8)


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?200109062235.f86MZWo03577>