Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Parsing timestamps? Date: Tue, 01 Jul 2025 12:56:02 -0700 Organization: A noiseless patient Spider Lines: 23 Message-ID: <87y0t7y9bh.fsf@nightsong.com> References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org> <4a4c38c99d22d97314ed5750af38430d@www.novabbs.com> <765bd244e1368b5691f18c748102470e8de1a30d@i2pn2.org> <103ilab$225q0$1@paganini.bofh.team> <2025Jun29.171314@mips.complang.tuwien.ac.at> <96f3b6d94af924cf1468a2cced37966d@www.novabbs.com> <0cd5e9d5959101c1efa68a2d6d630e23@www.novabbs.com> <069f09501a3c6fcade18fdf83925d835514b42cc@i2pn2.org> <44b5f13fd49d8ddbd572ae583379d124@www.novabbs.com> <21113c70c36a86f0fd4c74c8d11d0947528ba70f@i2pn2.org> <20baae7dd561db60967a5937d2b59d9a@www.novabbs.com> <0db20ddf954106bbca40d9e83630033f108b9a8e@i2pn2.org> <87bjq5yn8i.fsf@nightsong.com> <8734bfzrdl.fsf@nightsong.com> <6dcd99ffba129d06b1f736994363eb87@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 01 Jul 2025 21:56:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="dd4d41ff1535f3f9a54ff9cebbdbb569"; logging-data="3190424"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SI+rHS/FQQjWT6elaHyY6" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:IY6fJK6EhwoblD6rTVJFTpY7jG4= sha1:UgJV837J3pn98FmDUH4jrj14nqk= minforth@gmx.net (minforth) writes: > Nobody seems to care about that time. Instead, the focus seems to be > primarily on code runtime, even though the difference is only > microseconds or less. Forth was designed for threaded interpreter implementation and the whole notion of an optimizing Forth compiler is at best an abstraction inversion. But, supposedly, VFX compiler output runs 10x as fast as the same code under an interpreter. I think in the Moore era, you got two speedups: 1) interpreted Forth was 10x faster than its main competitor, interpreted BASIC; and 2) if your Forth program was still too slow, you'd identify a few hot spots and rewrite those in assembler. Today instead of BASIC we have Python, and interpreted Forth is still a lot faster than Python. That speed is sufficient for most things, like it always was, but even more so on modern hardware. So I don't see much legitimate complaint about slowdowns due to Forth locals. The objection is based on other considerations, either legitimate ones that I don't yet understand, or essentially bogus ones that I don't completely see through. Maybe some combination of the two.