Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #36157

Re: Attila Forth compiler

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Attila Forth compiler
Date 2015-01-30 15:56 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2015Jan30.165641@mips.complang.tuwien.ac.at> (permalink)
References <mae51a$5hb$1@dont-email.me>

Show all headers | View raw


Gerry Jackson <gerry@jackson9000.fsnet.co.uk> writes:
>I stumbled across the web-site below. Searching comp.lang.forth on 
>Google Groups for Attila found nothing so people may not be aware of 
>this system and may find it of interest.
>
>http://www.threaded-interpreter.org/manual/book/attila.html

That's an interesting system that employs some of the implementation
ideas of Gforth, but does a new implementation with less focus on
speed and convenience, and apparently more focus on small size.

It's startup time of more than 2s on my laptop is startling, however.
Looking at the accessed files, it loads lots of stuff from source
files on startup.

And otherwise it's also not particularly fast:

[b8:/tmp:6473] time attila /usr/share/gforth/0.7.0/siev.fs main.fs
15.672u 0.099s 15.777r 99.96%
[b8:/tmp:6474] time gforth-fast /usr/share/gforth/0.7.0/siev.fs main.fs
0.244u 0.004s 0.252r 98.50%

Let's see how the size turns out:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
anton    20095 11.9  0.0  10380   372 pts/25   S+   17:06   0:09 attila
anton    20207  0.0  0.0  20544  1384 pts/26   S+   17:06   0:00 gforth-fast

So it's RSS (resident set size in KB, an approximation of the physical
memory used) is indeed quite a bit smaller than for gforth-fast.  The
amount of CPU used when waiting for user input at the outer
interpreter is worrying, though.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2014: http://www.euroforth.org/ef14/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Attila Forth compiler Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-01-29 20:27 +0000
  Re: Attila Forth compiler "WJ" <w_a_x_man@yahoo.com> - 2015-01-29 22:54 +0000
    Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 15:36 +0000
      Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 15:40 +0000
  Re: Attila Forth compiler anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-30 15:56 +0000
    Re: Attila Forth compiler Richard Owlett <rowlett@cloud85.net> - 2015-01-30 11:09 -0600
    Re: Attila Forth compiler "Rod Pemberton" <buzz@notnotnontnooatno.cmm> - 2015-01-31 02:58 -0500
      Re: Attila Forth compiler anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-01-31 11:48 +0000
  Re: Attila Forth compiler visualforth@rocketmail.com - 2015-01-30 08:42 -0800
    Re: Attila Forth compiler "Alex McDonald" <blog@rivadpm.com> - 2015-01-30 17:16 +0000
    Re: Attila Forth compiler Richard Owlett <rowlett@cloud85.net> - 2015-01-30 11:19 -0600
  Re: Attila Forth compiler Christopher Douglas <christopherdouglas35@gmail.com> - 2015-01-31 06:29 -0800

csiph-web