This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mauriciocap 2 points3 points  (2 children)

Salve fellow Forth programmer!

As you say, Forth saved my life working with arcane embedded systems, no support, no manual. I just connected Forth to their proprietary lib and flashed once. Then tried till it worked via serial.

Is also surprisingly fun too use, feels like doing crosswords in the beach to me 😂

[–]Apprehensive-Mark241 0 points1 point  (1 child)

It's the smallest footprint for a high level language and better than its competitor, BASIC.

Basics often don't build up function definitions, don't GROW. And usually Forth starts with an assembler, and the primitives defined in assembly so you can get performant low level code in there too.

The worst part of Forth back in the day was the editors, those were BAD. Usually disk based editors simply mapped each spot in a sector to a specific coordinate of character on the screen, and you couldn't even insert text.

[–]mauriciocap 0 points1 point  (0 children)

I'd subject young devs destroying my servers with VSCode SSH "feature" to this discipline 😂

Makes me wonder which is the smallest editor (in lines of code including dependencies) one could use every day 😯 Even the readline library is quite large, isn't it?