Deutsch   English   Français   Italiano  
<106e1fe4ea7c54762e181501a83aa79d@www.novabbs.com>

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

Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: mhx@iae.nl (mhx)
Newsgroups: comp.lang.forth
Subject: Re: Standard compliance for systems
Date: Fri, 22 Nov 2024 15:26:12 +0000
Organization: novaBBS
Message-ID: <106e1fe4ea7c54762e181501a83aa79d@www.novabbs.com>
References: <vcbn5e$3etuk$1@dont-email.me> <1a3ebf77c1ed8926d455a268e1309fe0@www.novabbs.com> <vcbuog$3etuk$3@dont-email.me> <66ee34a2$1@news.ausics.net> <vcmbf2$1ifml$1@dont-email.me> <66ef7dc7$1@news.ausics.net> <vcpi98$25spg$1@dont-email.me> <66f0fc6c$1@news.ausics.net> <vcr3ff$25spg$9@dont-email.me> <b781b7565e7b2c60363014dacde27099ac877449@i2pn2.org> <0af0a53d0f8be577ddf48666fc4c9b24@www.novabbs.com> <dd6dfe04d2c573b2ce66f723f5bc3959@www.novabbs.com> <4f7bc02e59ac1d4bd76fbff37a26652b@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="3652899"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="J+nubxJRM7ncpF4l6KLO+OONWmFAYJHVJegfwQXJ8vc";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$6qXq277hXx3rLE/AI959v.qVxdJ5hLFiX9dH1ayV5IGVGrR8h2me.
X-Rslight-Posting-User: 4e0dc1fdad1ead10b39e7eb5db19bf73d73e3ab3
Bytes: 2083
Lines: 17

On Fri, 22 Nov 2024 13:11:32 +0000, minforth wrote:

> On Fri, 22 Nov 2024 11:35:01 +0000, mhx wrote:
>> When parsing commands for my engineering tools, strings
>> are indispensable. But I use a ringbuffer, not a stack.
>
> A ring buffer for holding strings is a classic for Forth
> systems. For larger string sequences, such as data in XML
> format, ring buffers tend to be overwritten. But that's
> an application-sprecific implementation detail, not a
> topic for a standard.

Ring buffers should manage their pool appropriately. That's
a quality of implementation aspect. Slightly more dangerous
is using their strings permanently. It assumes quality at
the other side of the keyboard.

-marcel