| Deutsch English Français Italiano |
|
<2024Sep9.193403@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Avoid treating the stack as an array [Re: "Back & Forth" is back!]
Date: Mon, 09 Sep 2024 17:34:03 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 41
Message-ID: <2024Sep9.193403@mips.complang.tuwien.ac.at>
References: <nnd$61e0ad9a$48ed61c2@b4d945e456041481> <vaubf7$tbke$1@dont-email.me> <nnd$04cff141$0193ba04@301336b8dd8ed69a> <vbfqnd$v4c4$1@dont-email.me> <vbkdu0$1v8lq$1@dont-email.me> <2024Sep8.182747@mips.complang.tuwien.ac.at>
Injection-Date: Mon, 09 Sep 2024 19:38:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bff24d76364ca7ea0d223f91191d43fd";
logging-data="2628269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IGGiEhyOf5HzD69l4HbdT"
Cancel-Lock: sha1:konpa2Bt0ivLBiY0IsGcNu5Ml84=
X-newsreader: xrn 10.11
Bytes: 2683
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>@InProceedings{ertl22-locals,
> author = {M. Anton Ertl},
> title = {Are Locals Inevitably Slow?},
> crossref = {euroforth22},
> pages = {48--49},
> url = {http://www.euroforth.org/ef22/papers/ertl-locals.pdf},
> url-slides = {http://www.euroforth.org/ef22/papers/ertl-locals-slides.pdf},
> video = {https://www.youtube.com/watch?v=tPjSKetEJn0},
> OPTnote = {presentation slides},
> abstract = {Code quality of locals on two code examples on
> various systems}
>}
>
>An update on the table for the example:
>
>: 3dup.3 {: a b c :} a b c a b c ;
>
> instr. bytes system
> 31 117 Gforth AMD64
> 16 44 iforth 5.0.27 (plus 20 bytes entry and return code)
> 7 19 lxf 1.6-982-823 32-bit
> 32 127 SwiftForth 4.0.0-RC89 (calls LSPACE)
> 26 92 VFX Forth 64 5.11 RC2
And here's another update. A recent change in Gforth resulted in more
code, and we now have reverted that change:
instr. bytes system
28 103 Gforth AMD64
16 44 iforth 5.0.27 (plus 20 bytes entry and return code)
7 19 lxf 1.6-982-823 32-bit
32 127 SwiftForth 4.0.0-RC89 (calls LSPACE)
26 92 VFX Forth 64 5.11 RC2
- 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: https://forth-standard.org/
EuroForth 2024: https://euro.theforth.net