Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

An algorithm must be seen to be believed. -- D. E. Knuth


computers / comp.os.linux.misc / Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

SubjectAuthor
* Gems Found Cleaning Shelves - "C -vs- FORTH" Debate25B.Z969
+* Re: Gems Found Cleaning Shelves - "C -vs- FORTH" DebateBobbie Sellers
|`* Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate25B.Z969
| `* Re: Gems Found Cleaning Shelves - "C -vs- FORTH" DebateBobbie Sellers
|  `- Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate25B.Z969
`* Re: Gems Found Cleaning Shelves - "C -vs- FORTH" DebateCharlie Gibbs
 `- Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate25B.Z969

1
Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8301&group=comp.os.linux.misc#8301

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 13 Sep 2022 02:13:09 +0000
Newsgroups: comp.os.linux.misc
X-Mozilla-News-Host: news://news.west.earthlink.net:119
From: 25B.Z...@noda.net (25B.Z969)
Subject: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Date: Mon, 12 Sep 2022 22:13:08 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
Lines: 83
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 98.77.165.251
X-Trace: sv3-caOi6HTADS3BuT/tVM1ioKcBXQsyqabfGpr741TDugjRyD607UiTzP7HJSInqsJqcdCp15jw4UtR7Z+!fhi9uQ/5KivM/xREOoD56n0h+k5sDgyoc5BCiGHnojZZUDcfY3+dxeuT3ZOc2AEoDlyWHhhyLfWK!fki5WQhMND4sjb2cJRCw
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.Z969 - Tue, 13 Sep 2022 02:13 UTC

"Computer Lanaguage" magazine, premier issue, sometime in 1984.

Good articles :

"BASIC Becomes a Structured Language"
"Programming In The UNIX Environment"
"Improve Your Programming With Structured Techniques"
"Bubble Sort, Insertion Sort and QuickSort Compared"
"COBOL: Pride and Prejudice"
"Exploring ADA and Modula 2"

Lots of ads for development software, "C-MANX" and
Aztec-C (I have a Z80 copy of that I've used in a
virtual machine) plus macro-assemblers for Z80s's
alongside 8086 chips and 6502 chips and the
wonderfulness of RATFOR and .....

But the main article revolved around whether that
newfangled 'C' language was really better for
lower-level systems programming than good old FORTH.

Yes, that was a REAL debate.

Now most of you who aren't starting to lust for
the Turbo-X walker with the built-in grocery/meds
tray have probably never touched FORTH. However,
clearly, there WAS a time ......

FORTH is an ultra-simple stack-based interpreted language.
It was writ by an astronomer to provide easy operation of
big telescopes back when a 'hot' CPU was an 8080 or 6800
or less and "a lot" of memory was maybe 4 KILObytes.
It is quite possible to implement a full FORTH interpreter
on such tiny systems and have room left over. You can
get FORTH interpreters for some PIC microcontrollers
and similarly limited environments. I *think* I remember
a version for FOUR-bit chips ... but you had to burn it
into a ROM chip.

FORTH commands push data onto a stack and then you enter
some kind of command to deal with it. "2 2 +" pushes a
2, and another 2, onto the stack and "+" is for adding
the nearest two numbers on the stack together. You can
print that, in 'live' mode, or DUP it and pass the result
to something else. FORTH uses a lot of very cryptic-looking
operators.

From the very low-level stuff, you can define "Words Of FORTH",
sort of like procedures or functions, that make more sense,
do something more complex. You can make crude libraries of
such "words".

FORTH *is* still around in various forms. There's gforth,
the GNU font-end that's in most Linux repos. There are
also stand-alone interpreters/"compilers" for Win and Lin.
There are even some For-Pay versions plus IDEs to be had.
It's about one step above assembler, more clear than BrainFuck,
and as it's usually used in interpreted mode you can modify
the "words" kinda on the fly as needed.

But, this mag was from 1984. You COULD get 'C' compilers
(multi-pass + linker) for the orig IBM-PCs by then. (Got
one of those in a DOS VM, IBM-Pascal too - FUN !). Thing is,
FORTH was well-established at that time, had lots of useful
libraries 'everyone' knew, and was thus both very capable
and, being interpreted, "handy" kinda like Python is
these days. There WAS a case for a "debate".

These days, if it has to have a GUI, especially by Friday,
I'll write it in Python-TK first and the Lazarus/FPC next
week. Services ... well 'C' of course. I don't really think
about FORTH anymore - but DO install it as a sort of reflex
anytime I bring up a new Linux box.

This is the sort of gem you find that's fallen behind the
other dusty books on the shelf. Maybe next week I'll get
into the old BYTE article that tells you all about RS-485
networking (again, still in use - esp in industrial
environments ...slow but very noise-resistant). RS-485
is kinda like what you'd set up with Novell Netware (in
the big heavy red box) that used coax with multiple 'T's
in the big long string to each PC. No 'stars' with more
'stars' back then ....

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<tfoqq2$2cta1$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8302&group=comp.os.linux.misc#8302

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bli...@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Date: Mon, 12 Sep 2022 19:44:18 -0700
Organization: dis-organization
Lines: 104
Message-ID: <tfoqq2$2cta1$1@dont-email.me>
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Sep 2022 02:44:19 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2c73f63853357f5f69fad2a1c590bc6a";
logging-data="2520385"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iVZS0o29bKemrSFYfX53X"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:J7VnEFes9FRi7H3Pzi84sZT03QA=
Content-Language: en-US
In-Reply-To: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
 by: Bobbie Sellers - Tue, 13 Sep 2022 02:44 UTC

On 9/12/22 19:13, 25B.Z969 wrote:
> "Computer Lanaguage" magazine, premier issue, sometime in 1984.
>
> Good articles :
>
> "BASIC Becomes a Structured Language"
> "Programming In The UNIX Environment"
> "Improve Your Programming With Structured Techniques"
> "Bubble Sort, Insertion Sort and QuickSort Compared"
> "COBOL: Pride and Prejudice"
> "Exploring ADA and Modula 2"
>
> Lots of ads for development software, "C-MANX" and
> Aztec-C (I have a Z80 copy of that I've used in a
> virtual machine) plus macro-assemblers for Z80s's
> alongside 8086 chips and 6502 chips and the
> wonderfulness of RATFOR and .....
>
> But the main article revolved around whether that
> newfangled 'C' language was really better for
> lower-level systems programming than good old FORTH.
>
> Yes, that was a REAL debate.
>
> Now most of you who aren't starting to lust for
> the Turbo-X walker with the built-in grocery/meds
> tray have probably never touched FORTH. However,
> clearly, there WAS a time ......
>
> FORTH is an ultra-simple stack-based interpreted language.
> It was writ by an astronomer to provide easy operation of
> big telescopes back when a 'hot' CPU was an 8080 or 6800
> or less and "a lot" of memory was maybe 4 KILObytes.
> It is quite possible to implement a full FORTH interpreter
> on such tiny systems and have room left over. You can
> get FORTH interpreters for some PIC microcontrollers
> and similarly limited environments. I *think* I remember
> a version for FOUR-bit chips ... but you had to burn it
> into a ROM chip.
>
> FORTH commands push data onto a stack and then you enter
> some kind of command to deal with it. "2 2 +" pushes a
> 2, and another 2, onto the stack and "+" is for adding
> the nearest two numbers on the stack together. You can
> print that, in 'live' mode, or DUP it and pass the result
> to something else. FORTH uses a lot of very cryptic-looking
> operators.
>
> From the very low-level stuff, you can define "Words Of FORTH",
> sort of like procedures or functions, that make more sense,
> do something more complex. You can make crude libraries of
> such "words".
>
> FORTH *is* still around in various forms. There's gforth,
> the GNU font-end that's in most Linux repos. There are
> also stand-alone interpreters/"compilers" for Win and Lin.
> There are even some For-Pay versions plus IDEs to be had.
> It's about one step above assembler, more clear than BrainFuck,
> and as it's usually used in interpreted mode you can modify
> the "words" kinda on the fly as needed.
>
> But, this mag was from 1984. You COULD get 'C' compilers
> (multi-pass + linker) for the orig IBM-PCs by then. (Got
> one of those in a DOS VM, IBM-Pascal too - FUN !). Thing is,
> FORTH was well-established at that time, had lots of useful
> libraries 'everyone' knew, and was thus both very capable
> and, being interpreted, "handy" kinda like Python is
> these days. There WAS a case for a "debate".
>
> These days, if it has to have a GUI, especially by Friday,
> I'll write it in Python-TK first and the Lazarus/FPC next
> week. Services ... well 'C' of course. I don't really think
> about FORTH anymore - but DO install it as a sort of reflex
> anytime I bring up a new Linux box.
>
> This is the sort of gem you find that's fallen behind the
> other dusty books on the shelf. Maybe next week I'll get
> into the old BYTE article that tells you all about RS-485
> networking (again, still in use - esp in industrial
> environments ...slow but very noise-resistant). RS-485
> is kinda like what you'd set up with Novell Netware (in
> the big heavy red box) that used coax with multiple 'T's
> in the big long string to each PC. No 'stars' with more
> 'stars' back then ....

On the Amiga I had the delightful use of a full featured Text Editor
which was shareware from a nearby city and paid for every update that
the authors" charged for. I also took the stuff they were not charging
for. It was programmed in "Forth" called that becasue when it was
devised fourth was beyound the reach of the naming protocols. So
with such a great product I read a programming book about forth
and it sounded really great but I never was interested in those days in
actually using even such a great sounding language.
Nowadays I use Kate and KWrite. Not quite as good as my Textra.

bliss - PCLinuxOS is the answer if you can formulate the question.

"The rule is perfect: in all matters of opinion our adversaries are
insane." (Mark Twain)

--
bliss dash SF 4 ever at dslextreme dot com

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<MdSTK.101463$elEa.38707@fx09.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8303&group=comp.os.linux.misc#8303

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgi...@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
User-Agent: slrn/1.0.3 (Linux)
Lines: 28
Message-ID: <MdSTK.101463$elEa.38707@fx09.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 13 Sep 2022 02:50:20 UTC
Date: Tue, 13 Sep 2022 02:50:20 GMT
X-Received-Bytes: 1599
 by: Charlie Gibbs - Tue, 13 Sep 2022 02:50 UTC

On 2022-09-13, 25B.Z969 <25B.Z969@noda.net> wrote:

> FORTH commands push data onto a stack and then you enter
> some kind of command to deal with it. "2 2 +" pushes a
> 2, and another 2, onto the stack and "+" is for adding
> the nearest two numbers on the stack together. You can
> print that, in 'live' mode, or DUP it and pass the result
> to something else. FORTH uses a lot of very cryptic-looking
> operators.

<snip>

I heard about Forth (not in all caps, please) and it sounded
interesting enough that I bought Leo Brodie's _Starting Forth_.
I found a CP/M implementation and played around with it a bit,
going as far as writing a Sieve of Eratosthenes program.

I never went much farther with it - I was busy moving from
various assembly languages to C at the time - but it was
a fun language to play with.

Forth love if honk then

--
/~\ Charlie Gibbs | Microsoft is a dictatorship.
\ / <cgibbs@kltpzyxm.invalid> | Apple is a cult.
X I'm really at ac.dekanfrus | Linux is anarchy.
/ \ if you read it the right way. | Pick your poison.

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<mYKcnZ2oeZZztbz-nZ2dnZfqn_Vg4p2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8308&group=comp.os.linux.misc#8308

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border-1.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 Sep 2022 01:05:50 +0000
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Newsgroups: comp.os.linux.misc
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
<MdSTK.101463$elEa.38707@fx09.iad>
From: 25B.Z...@noda.net (25B.Z969)
Date: Tue, 13 Sep 2022 21:05:49 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <MdSTK.101463$elEa.38707@fx09.iad>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <mYKcnZ2oeZZztbz-nZ2dnZfqn_Vg4p2d@earthlink.com>
Lines: 84
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 98.77.165.251
X-Trace: sv3-6gwGf3Kwh/EsPPsNzG+J99UPv2dVOCuR8uwDO5yXxGBUvyzrQYqTtzEjpUpcFOOoK09LzIkyEf/Qa+D!l3Z2a4W8wZzjlQvAmjBfqw8MWIRvKzJIoAUPO7ASw4VHY4S8CfH6e6Pr2AJIxiqV3260/sRLrRTi!UN63KI1dlxsmiIMYZrmW
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 4744
 by: 25B.Z969 - Wed, 14 Sep 2022 01:05 UTC

On 9/12/22 10:50 PM, Charlie Gibbs wrote:
> On 2022-09-13, 25B.Z969 <25B.Z969@noda.net> wrote:
>
>> FORTH commands push data onto a stack and then you enter
>> some kind of command to deal with it. "2 2 +" pushes a
>> 2, and another 2, onto the stack and "+" is for adding
>> the nearest two numbers on the stack together. You can
>> print that, in 'live' mode, or DUP it and pass the result
>> to something else. FORTH uses a lot of very cryptic-looking
>> operators.
>
> <snip>
>
> I heard about Forth (not in all caps, please) and it sounded
> interesting enough that I bought Leo Brodie's _Starting Forth_.
> I found a CP/M implementation and played around with it a bit,
> going as far as writing a Sieve of Eratosthenes program.
>
> I never went much farther with it - I was busy moving from
> various assembly languages to C at the time - but it was
> a fun language to play with.
>
> Forth love if honk then

Heh ...

Maybe Yoda talked in words of Forth ? :-)

Forth was a product of "limited" systems prevalent
in the early 70s to early 80s ... boards far less
powerful than a VIC-20 or even a ZX-80.

Academics and engineers DID love to use digital
though, but the trick was in putting something
small ON them so you weren't stuck with ASM where
you'd have to compile and then copy from a bigger
system.

As said, Forth was writ by a radio astronomer who
wanted to take advantage of digital control to steer
his big dishes around - but needed more flexibility
and much faster concept-2-result. Burn the interpreter
and your selection of vital libraries onto a ROM,
hook up a cheap serial terminal and you could write,
mod, debug, run all in-situ on those tiny little boards
up on a cold mountain. The super-simple syntax and
fairly anal adherence to using the stack for everything
made the interpreter small.

For its time and place, Forth WAS a logical choice.
I wouldn't really recommend it for much of anything
these days except maybe certain microcontrollers, but
it still IS kind of interesting. As there ARE for-pay
development systems out there it would seem there are
continuing uses for Forth.

If you're interested :
http://forth.org/compilers.html
(not all links are good)

I also found :
https://en.wikipedia.org/wiki/4-bit_computing

The 4-bit processors were programmed in assembly language
or Forth, e.g. "MARC4 Family of 4 bit Forth CPU"[7] because
of the extreme size constraint on programs and because
common programming languages (for microcontrollers, 8-bit
and larger), such as the C programming language, do not support
4-bit data types

I think Epson still makes 4-bitters - for digital keyfobs
or simple remotes and such. 8-bit chips are cheaper these
days however. I did look at the Epson docs once though -
those are impressive 4-bitters, gobs of flexibility
combined with really low power consumption and simpler
board construction. I think they're all mask-programmed
now though ... send the company your code and they
embed it permanently on the chip die and sell you 100,000
of them.

Hmm ... didn't 'C' used to support 'nibbles' - 4-bit data
types ??? Maybe I misremember. You could FAKE 'em easily
enough though.

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<tRidnV0kO8pxsbz-nZ2dnZfqn_pg4p2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8309&group=comp.os.linux.misc#8309

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 Sep 2022 01:22:52 +0000
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Newsgroups: comp.os.linux.misc
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
<tfoqq2$2cta1$1@dont-email.me>
From: 25B.Z...@noda.net (25B.Z969)
Date: Tue, 13 Sep 2022 21:22:26 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <tfoqq2$2cta1$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <tRidnV0kO8pxsbz-nZ2dnZfqn_pg4p2d@earthlink.com>
Lines: 124
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 98.77.165.251
X-Trace: sv3-0WH1gzwwjs28NWmxElMmi1tlbm7jnn2cGn8iI7ibdJQL93tseWk/DQZ4uR7PBMgci9ejq5NfVEO1PNJ!u18qxRY0030YdZxyd0KTjSElgyYV90/FVdUArDQn5oJwdbYmD5jT931w//vhuh+ouDvv7LUEuc2q!UHK61stncFnTRYqMirSt
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 6643
 by: 25B.Z969 - Wed, 14 Sep 2022 01:22 UTC

On 9/12/22 10:44 PM, Bobbie Sellers wrote:
> On 9/12/22 19:13, 25B.Z969 wrote:
>> "Computer Lanaguage" magazine, premier issue, sometime in 1984.
>>
>> Good articles :
>>
>> "BASIC Becomes a Structured Language"
>> "Programming In The UNIX Environment"
>> "Improve Your Programming With Structured Techniques"
>> "Bubble Sort, Insertion Sort and QuickSort Compared"
>> "COBOL: Pride and Prejudice"
>> "Exploring ADA and Modula 2"
>>
>> Lots of ads for development software, "C-MANX" and
>> Aztec-C (I have a Z80 copy of that I've used in a
>> virtual machine) plus macro-assemblers for Z80s's
>> alongside 8086 chips and 6502 chips and the
>> wonderfulness of RATFOR and .....
>>
>> But the main article revolved around whether that
>> newfangled 'C' language was really better for
>> lower-level systems programming than good old FORTH.
>>
>> Yes, that was a REAL debate.
>>
>> Now most of you who aren't starting to lust for
>> the Turbo-X walker with the built-in grocery/meds
>> tray have probably never touched FORTH. However,
>> clearly, there WAS a time ......
>>
>> FORTH is an ultra-simple stack-based interpreted language.
>> It was writ by an astronomer to provide easy operation of
>> big telescopes back when a 'hot' CPU was an 8080 or 6800
>> or less and "a lot" of memory was maybe 4 KILObytes.
>> It is quite possible to implement a full FORTH interpreter
>> on such tiny systems and have room left over. You can
>> get FORTH interpreters for some PIC microcontrollers
>> and similarly limited environments. I *think* I remember
>> a version for FOUR-bit chips ... but you had to burn it
>> into a ROM chip.
>>
>> FORTH commands push data onto a stack and then you enter
>> some kind of command to deal with it. "2 2 +" pushes a
>> 2, and another 2, onto the stack and "+" is for adding
>> the nearest two numbers on the stack together. You can
>> print that, in 'live' mode, or DUP it and pass the result
>> to something else. FORTH uses a lot of very cryptic-looking
>> operators.
>>
>>  From the very low-level stuff, you can define "Words Of FORTH",
>> sort of like procedures or functions, that make more sense,
>> do something more complex. You can make crude libraries of
>> such "words".
>>
>> FORTH *is* still around in various forms. There's gforth,
>> the GNU font-end that's in most Linux repos. There are
>> also stand-alone interpreters/"compilers" for Win and Lin.
>> There are even some For-Pay versions plus IDEs to be had.
>> It's about one step above assembler, more clear than BrainFuck,
>> and as it's usually used in interpreted mode you can modify
>> the "words" kinda on the fly as needed.
>>
>> But, this mag was from 1984. You COULD get 'C' compilers
>> (multi-pass + linker) for the orig IBM-PCs by then. (Got
>> one of those in a DOS VM, IBM-Pascal too - FUN !). Thing is,
>> FORTH was well-established at that time, had lots of useful
>> libraries 'everyone' knew, and was thus both very capable
>> and, being interpreted, "handy" kinda like Python is
>> these days. There WAS a case for a "debate".
>>
>> These days, if it has to have a GUI, especially by Friday,
>> I'll write it in Python-TK first and the Lazarus/FPC next
>> week. Services ... well 'C' of course. I don't really think
>> about FORTH anymore - but DO install it as a sort of reflex
>> anytime I bring up a new Linux box.
>>
>> This is the sort of gem you find that's fallen behind the
>> other dusty books on the shelf. Maybe next week I'll get
>> into the old BYTE article that tells you all about RS-485
>> networking (again, still in use - esp in industrial
>> environments ...slow but very noise-resistant). RS-485
>> is kinda like what you'd set up with Novell Netware (in
>> the big heavy red box) that used coax with multiple 'T's
>> in the big long string to each PC. No 'stars' with more
>> 'stars' back then ....
>
> On the Amiga I had the  delightful use of a full featured Text Editor
> which was shareware from a nearby city and paid for every update that
> the authors" charged for.  I also took the stuff they were not charging
> for.  It was programmed in "Forth" called that becasue when it was
> devised fourth was beyound the reach of the naming protocols.  So
> with such a great product I read a programming book about forth
> and it sounded really great but I never was interested in those days in
> actually using even such a great sounding language.
> Nowadays I use Kate and KWrite. Not quite as good as my Textra.

There's little you couldn't do, efficiently, in Forth. It
was kind of the Python of its day, a 'handy' language.
I did a few Forth programs, but never tried to build
anything really complicated like a word processor.

I did write the equiv of 'Notepad' in ASM once though,
but that was for fun (and was lots better than the
'edlin' that came with the early PCs).

> bliss - PCLinuxOS is the answer if you can formulate the question.

I don't like the fat mouse cursor :-)

But, nevertheless, I do have it on one of my sub-laptops
at the moment.

'Bliss', to me, is spelled 'MX'.

> "The rule is perfect: in all matters of opinion our adversaries are
> insane." (Mark Twain)

Heh heh ... notice how The Rule STILL applies - daily,
loudly - 100+ years later :-)

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<tfrmbc$2qk0m$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8310&group=comp.os.linux.misc#8310

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bli...@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Date: Tue, 13 Sep 2022 21:46:34 -0700
Organization: dis-organization
Lines: 141
Message-ID: <tfrmbc$2qk0m$1@dont-email.me>
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
<tfoqq2$2cta1$1@dont-email.me>
<tRidnV0kO8pxsbz-nZ2dnZfqn_pg4p2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 04:46:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="408dd8c093f9946656558299b200dc9f";
logging-data="2969622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Wti+v6e1hBa0EuK703cwl"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:Z74wZnC4ZTa1UnRcpP+qqgfI238=
In-Reply-To: <tRidnV0kO8pxsbz-nZ2dnZfqn_pg4p2d@earthlink.com>
Content-Language: en-US
 by: Bobbie Sellers - Wed, 14 Sep 2022 04:46 UTC

On 9/13/22 18:22, 25B.Z969 wrote:
> On 9/12/22 10:44 PM, Bobbie Sellers wrote:
>> On 9/12/22 19:13, 25B.Z969 wrote:
>>> "Computer Lanaguage" magazine, premier issue, sometime in 1984.
>>>
>>> Good articles :
>>>
>>> "BASIC Becomes a Structured Language"
>>> "Programming In The UNIX Environment"
>>> "Improve Your Programming With Structured Techniques"
>>> "Bubble Sort, Insertion Sort and QuickSort Compared"
>>> "COBOL: Pride and Prejudice"
>>> "Exploring ADA and Modula 2"
>>>
>>> Lots of ads for development software, "C-MANX" and
>>> Aztec-C (I have a Z80 copy of that I've used in a
>>> virtual machine) plus macro-assemblers for Z80s's
>>> alongside 8086 chips and 6502 chips and the
>>> wonderfulness of RATFOR and .....
>>>
>>> But the main article revolved around whether that
>>> newfangled 'C' language was really better for
>>> lower-level systems programming than good old FORTH.
>>>
>>> Yes, that was a REAL debate.
>>>
>>> Now most of you who aren't starting to lust for
>>> the Turbo-X walker with the built-in grocery/meds
>>> tray have probably never touched FORTH. However,
>>> clearly, there WAS a time ......
>>>
>>> FORTH is an ultra-simple stack-based interpreted language.
>>> It was writ by an astronomer to provide easy operation of
>>> big telescopes back when a 'hot' CPU was an 8080 or 6800
>>> or less and "a lot" of memory was maybe 4 KILObytes.
>>> It is quite possible to implement a full FORTH interpreter
>>> on such tiny systems and have room left over. You can
>>> get FORTH interpreters for some PIC microcontrollers
>>> and similarly limited environments. I *think* I remember
>>> a version for FOUR-bit chips ... but you had to burn it
>>> into a ROM chip.
>>>
>>> FORTH commands push data onto a stack and then you enter
>>> some kind of command to deal with it. "2 2 +" pushes a
>>> 2, and another 2, onto the stack and "+" is for adding
>>> the nearest two numbers on the stack together. You can
>>> print that, in 'live' mode, or DUP it and pass the result
>>> to something else. FORTH uses a lot of very cryptic-looking
>>> operators.
>>>
>>>  From the very low-level stuff, you can define "Words Of FORTH",
>>> sort of like procedures or functions, that make more sense,
>>> do something more complex. You can make crude libraries of
>>> such "words".
>>>
>>> FORTH *is* still around in various forms. There's gforth,
>>> the GNU font-end that's in most Linux repos. There are
>>> also stand-alone interpreters/"compilers" for Win and Lin.
>>> There are even some For-Pay versions plus IDEs to be had.
>>> It's about one step above assembler, more clear than BrainFuck,
>>> and as it's usually used in interpreted mode you can modify
>>> the "words" kinda on the fly as needed.
>>>
>>> But, this mag was from 1984. You COULD get 'C' compilers
>>> (multi-pass + linker) for the orig IBM-PCs by then. (Got
>>> one of those in a DOS VM, IBM-Pascal too - FUN !). Thing is,
>>> FORTH was well-established at that time, had lots of useful
>>> libraries 'everyone' knew, and was thus both very capable
>>> and, being interpreted, "handy" kinda like Python is
>>> these days. There WAS a case for a "debate".
>>>
>>> These days, if it has to have a GUI, especially by Friday,
>>> I'll write it in Python-TK first and the Lazarus/FPC next
>>> week. Services ... well 'C' of course. I don't really think
>>> about FORTH anymore - but DO install it as a sort of reflex
>>> anytime I bring up a new Linux box.
>>>
>>> This is the sort of gem you find that's fallen behind the
>>> other dusty books on the shelf. Maybe next week I'll get
>>> into the old BYTE article that tells you all about RS-485
>>> networking (again, still in use - esp in industrial
>>> environments ...slow but very noise-resistant). RS-485
>>> is kinda like what you'd set up with Novell Netware (in
>>> the big heavy red box) that used coax with multiple 'T's
>>> in the big long string to each PC. No 'stars' with more
>>> 'stars' back then ....
>>
>> On the Amiga I had the  delightful use of a full featured Text Editor
>> which was shareware from a nearby city and paid for every update that
>> the authors" charged for.  I also took the stuff they were not charging
>> for.  It was programmed in "Forth" called that becasue when it was
>> devised fourth was beyound the reach of the naming protocols.  So
>> with such a great product I read a programming book about forth
>> and it sounded really great but I never was interested in those days
>> in actually using even such a great sounding language.
>> Nowadays I use Kate and KWrite. Not quite as good as my Textra.
>
>
>   There's little you couldn't do, efficiently, in Forth. It
>   was kind of the Python of its day, a 'handy' language.
>   I did a few Forth programs, but never tried to build
>   anything really complicated like a word processor.
>
>   I did write the equiv of 'Notepad' in ASM once though,
>   but that was for fun (and was lots better than the
>   'edlin' that came with the early PCs).
>
>
>> bliss - PCLinuxOS is the answer if you can formulate the question.
>
>
>   I don't like the fat mouse cursor  :-)
>
>   But, nevertheless, I do have it on one of my sub-laptops
>   at the moment.

Then you can pick a much smaller cursor at least in KDE.
>
>   'Bliss', to me, is spelled 'MX'.
>
>
>> "The rule is perfect: in all matters of opinion our adversaries are
>> insane." (Mark Twain)
>
>
>   Heh heh ... notice how The Rule STILL applies - daily,
>   loudly - 100+ years later :-)

All the great humorist's work endures.

Take Groucho and Captain Spauling Song which states eternal verities.

All How I admire your longer experience and greater knowledge of all
things *nix. I have run MX in VirtualBox to try it out and play Angband.

bliss -Your tag lines (k) were stolen! (more) There is a puff of smoke!

--
bliss dash SF 4 ever at dslextreme dot com

Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate

<mDKdnXkyZfmobrz-nZ2dnZfqn_pg4p2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8313&group=comp.os.linux.misc#8313

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 Sep 2022 15:28:53 +0000
Subject: Re: Gems Found Cleaning Shelves - "C -vs- FORTH" Debate
Newsgroups: comp.os.linux.misc
References: <r1qdnWzKyaKoeoL-nZ2dnZfqn_ti4p2d@earthlink.com>
<tfoqq2$2cta1$1@dont-email.me>
<tRidnV0kO8pxsbz-nZ2dnZfqn_pg4p2d@earthlink.com>
<tfrmbc$2qk0m$1@dont-email.me>
From: 25B.Z...@noda.net (25B.Z969)
Date: Wed, 14 Sep 2022 11:28:38 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <tfrmbc$2qk0m$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <mDKdnXkyZfmobrz-nZ2dnZfqn_pg4p2d@earthlink.com>
Lines: 163
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 98.77.165.251
X-Trace: sv3-oq4iA3YoNv+jJaZX6FChcKftd6BLEDGte4utai+rBDWugZaC/vCua6FutKP/kdBj9ivZyXoJ2qFQAb9!rfS0dM0Wlwgf/NTcHF3hy976nAKf15wz3sRR3hIwdf1XcmjEYehywYMmMpRWwTOCHKgoQNPrLzkt!ma3eaQKxQ7n6hLXG39lc
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.Z969 - Wed, 14 Sep 2022 15:28 UTC

On 9/14/22 12:46 AM, Bobbie Sellers wrote:
> On 9/13/22 18:22, 25B.Z969 wrote:
>> On 9/12/22 10:44 PM, Bobbie Sellers wrote:
>>> On 9/12/22 19:13, 25B.Z969 wrote:
>>>> "Computer Lanaguage" magazine, premier issue, sometime in 1984.
>>>>
>>>> Good articles :
>>>>
>>>> "BASIC Becomes a Structured Language"
>>>> "Programming In The UNIX Environment"
>>>> "Improve Your Programming With Structured Techniques"
>>>> "Bubble Sort, Insertion Sort and QuickSort Compared"
>>>> "COBOL: Pride and Prejudice"
>>>> "Exploring ADA and Modula 2"
>>>>
>>>> Lots of ads for development software, "C-MANX" and
>>>> Aztec-C (I have a Z80 copy of that I've used in a
>>>> virtual machine) plus macro-assemblers for Z80s's
>>>> alongside 8086 chips and 6502 chips and the
>>>> wonderfulness of RATFOR and .....
>>>>
>>>> But the main article revolved around whether that
>>>> newfangled 'C' language was really better for
>>>> lower-level systems programming than good old FORTH.
>>>>
>>>> Yes, that was a REAL debate.
>>>>
>>>> Now most of you who aren't starting to lust for
>>>> the Turbo-X walker with the built-in grocery/meds
>>>> tray have probably never touched FORTH. However,
>>>> clearly, there WAS a time ......
>>>>
>>>> FORTH is an ultra-simple stack-based interpreted language.
>>>> It was writ by an astronomer to provide easy operation of
>>>> big telescopes back when a 'hot' CPU was an 8080 or 6800
>>>> or less and "a lot" of memory was maybe 4 KILObytes.
>>>> It is quite possible to implement a full FORTH interpreter
>>>> on such tiny systems and have room left over. You can
>>>> get FORTH interpreters for some PIC microcontrollers
>>>> and similarly limited environments. I *think* I remember
>>>> a version for FOUR-bit chips ... but you had to burn it
>>>> into a ROM chip.
>>>>
>>>> FORTH commands push data onto a stack and then you enter
>>>> some kind of command to deal with it. "2 2 +" pushes a
>>>> 2, and another 2, onto the stack and "+" is for adding
>>>> the nearest two numbers on the stack together. You can
>>>> print that, in 'live' mode, or DUP it and pass the result
>>>> to something else. FORTH uses a lot of very cryptic-looking
>>>> operators.
>>>>
>>>>  From the very low-level stuff, you can define "Words Of FORTH",
>>>> sort of like procedures or functions, that make more sense,
>>>> do something more complex. You can make crude libraries of
>>>> such "words".
>>>>
>>>> FORTH *is* still around in various forms. There's gforth,
>>>> the GNU font-end that's in most Linux repos. There are
>>>> also stand-alone interpreters/"compilers" for Win and Lin.
>>>> There are even some For-Pay versions plus IDEs to be had.
>>>> It's about one step above assembler, more clear than BrainFuck,
>>>> and as it's usually used in interpreted mode you can modify
>>>> the "words" kinda on the fly as needed.
>>>>
>>>> But, this mag was from 1984. You COULD get 'C' compilers
>>>> (multi-pass + linker) for the orig IBM-PCs by then. (Got
>>>> one of those in a DOS VM, IBM-Pascal too - FUN !). Thing is,
>>>> FORTH was well-established at that time, had lots of useful
>>>> libraries 'everyone' knew, and was thus both very capable
>>>> and, being interpreted, "handy" kinda like Python is
>>>> these days. There WAS a case for a "debate".
>>>>
>>>> These days, if it has to have a GUI, especially by Friday,
>>>> I'll write it in Python-TK first and the Lazarus/FPC next
>>>> week. Services ... well 'C' of course. I don't really think
>>>> about FORTH anymore - but DO install it as a sort of reflex
>>>> anytime I bring up a new Linux box.
>>>>
>>>> This is the sort of gem you find that's fallen behind the
>>>> other dusty books on the shelf. Maybe next week I'll get
>>>> into the old BYTE article that tells you all about RS-485
>>>> networking (again, still in use - esp in industrial
>>>> environments ...slow but very noise-resistant). RS-485
>>>> is kinda like what you'd set up with Novell Netware (in
>>>> the big heavy red box) that used coax with multiple 'T's
>>>> in the big long string to each PC. No 'stars' with more
>>>> 'stars' back then ....
>>>
>>> On the Amiga I had the  delightful use of a full featured Text Editor
>>> which was shareware from a nearby city and paid for every update that
>>> the authors" charged for.  I also took the stuff they were not charging
>>> for.  It was programmed in "Forth" called that becasue when it was
>>> devised fourth was beyound the reach of the naming protocols.  So
>>> with such a great product I read a programming book about forth
>>> and it sounded really great but I never was interested in those days
>>> in actually using even such a great sounding language.
>>> Nowadays I use Kate and KWrite. Not quite as good as my Textra.
>>
>>
>>    There's little you couldn't do, efficiently, in Forth. It
>>    was kind of the Python of its day, a 'handy' language.
>>    I did a few Forth programs, but never tried to build
>>    anything really complicated like a word processor.
>>
>>    I did write the equiv of 'Notepad' in ASM once though,
>>    but that was for fun (and was lots better than the
>>    'edlin' that came with the early PCs).
>>
>>
>>> bliss - PCLinuxOS is the answer if you can formulate the question.
>>
>>
>>    I don't like the fat mouse cursor  :-)
>>
>>    But, nevertheless, I do have it on one of my sub-laptops
>>    at the moment.
>
>     Then you can pick a much smaller cursor at least in KDE.

I never use KDE ... too fat, esp for low-powered subnotebooks.
LXDE is bliss there - and even then I turn off most of the
limited eye-candy it offers.

>>    'Bliss', to me, is spelled 'MX'.
>>
>>
>>> "The rule is perfect: in all matters of opinion our adversaries are
>>> insane." (Mark Twain)
>>
>>
>>    Heh heh ... notice how The Rule STILL applies - daily,
>>    loudly - 100+ years later :-)
>
>     All the great humorist's work endures.
>
>     Take Groucho and Captain Spauling Song which states eternal verities.
>
>     All How I admire your longer experience and greater knowledge of
> all things *nix.  I have run MX in VirtualBox to try it out and play
> Angband.

Linux is now far too big for anybody to "know it all"
(OK there may be someone who lives in a basement with a
case of Jolt Cola and Twinkies). Ask and someone with
the right spectrum of experience will answer (ok, maybe).

MX is a very good "medium" distro that seems to cover the
waterfront quite nicely. They include some of their own
special utilities/tools - some of which I wish could be
ported over to the other Deb derivatives. I keep MX on USB
sticks for emergencies, in a VM *and* its own real partition
on my work boxes plus on my personal PCs. There's a reason
it's been #1 on the DistroWatch list for so long.

Before MX there was "Mepis" and the minimalistic "Antix"
(you can still get pure AntiX). So, some clever people
put the M and X together and the hybrid was gold.

> bliss -Your tag lines (k) were stolen! (more) There is a puff of smoke!
>

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor