| Deutsch English Français Italiano |
|
<v7ll56$lg5d$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Stephen Pelc <stephen@vfxforth.com> Newsgroups: comp.lang.forth Subject: Re: recursion Date: Mon, 22 Jul 2024 13:00:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 27 Message-ID: <v7ll56$lg5d$1@dont-email.me> References: <v6c8v0$3usoe$1@dont-email.me> <2024Jul15.152917@mips.complang.tuwien.ac.at> <v75ngv$18mqt$1@dont-email.me> <66977721$1@news.ausics.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 22 Jul 2024 15:00:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e95904ec1a3de8957d2b130afbc2403b"; logging-data="704685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sq+lwiB1PhdNcQr9v+1OL" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:/7X6nJqKW/mBzI8rKJDjcvLIqw8= X-Usenapp: v1.27.4/l - Full License Bytes: 1841 On 17 Jul 2024 at 08:47:45 BST, "dxf" <dxforth@gmail.com> wrote: > DEFER may not be as fast as a directly patched definition but neither > has that prevented a generation from using it. At least on x64 and CISC CPUs, calling a deferred word is just CALL [] foo rather than CALL foo The difference on x64 is one byte and a a few (hardware and cache dependent) cycles. IMHO Forward referencing and resolving words are likely just to be wrappers for syntactic sugar around DEFER and IS. Stephen -- Stephen Pelc, stephen@vfxforth.com MicroProcessor Engineering, Ltd. - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)78 0390 3612, +34 649 662 974 http://www.mpeforth.com MPE website http://www.vfxforth.com/downloads/VfxCommunity/ downloads