Deutsch   English   Français   Italiano  
<32125ca854091f444e9115d0a34bd394@www.novabbs.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: zbigniew2011@gmail.com (LIT)
Newsgroups: comp.lang.forth
Subject: Re: Stack vs stackless operation
Date: Tue, 25 Feb 2025 11:40:46 +0000
Organization: novaBBS
Message-ID: <32125ca854091f444e9115d0a34bd394@www.novabbs.com>
References: <591e7bf58ebb1f90bd34fba20c730b83@www.novabbs.com> <2025Feb24.225021@mips.complang.tuwien.ac.at> <aa770ad25cdcbae657eaf1d07ab09b53@www.novabbs.com> <2025Feb25.082658@mips.complang.tuwien.ac.at> <263758f7d46bb65dbfbab41c4bc2fcd3@www.novabbs.com> <2025Feb25.100719@mips.complang.tuwien.ac.at> <1a2292724eba21a8e433c9d77f526e73@www.novabbs.com> <a8dbb694e7119e331a9e80c4989edeb2@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="1708175"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="ovTHZ/VLht/KDF1nKqB7PmGhjiyfUdv/DKd8kGKFjRY";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$s/AoaI534GZd3mj6yTCYZOxwll7j0tpvq0M/eLIWtvHbpkhe.Lulq
X-Rslight-Posting-User: 8e58c9b6d1da98b6162b84d03d2307a6516add15
X-Spam-Checker-Version: SpamAssassin 4.0.0
Bytes: 2305
Lines: 23

>> But, SQUARE is a high-level "colon" definition… [..]” etc.
>
>> ( https://www.bradrodriguez.com/papers/moving1.htm )
>
>> Many of these steps in particular cases can be avoided
>> by the use of proposed OOS words, making (at least sometimes)
>> the Forth program faster — and, as a kinda "bonus", clarity
>> of the code increases.
>
> After having avoided premature optimisation, every 'decent'
> Forth programmer will recode some few bottleneck words e.g.
> in assembler, where necessary. IOW microbenchmarking SQUARE,
> which can be implemented in a handful of lines of machine code
> or less, does not bring new insights.

I agree with you - still it does take decent Forth programmer.
Recall the ones described by Jeff Fox? These Forth programmers,
that refused to use Machine Forth just because "they were hired
to program in ANS Forth"?
I don't believe they were be able to recode anything in
assembler - and note, it was about 30 years ago. Since that
time assembler programming became even less popular.

--