Gforth 1.0

joshcsimmons 163 points 17 comments October 27, 2026
gforth.org · View on Hacker News

Discussion Highlights (6 comments)

Hendrikto

Some sorely needed context: > [Gforth is] a free, fast, featureful and portable implementation of the Forth 2012 language. > Gforth runs under GNU, BSD, and similar systems, MS Windows and MacOS X and should not be hard to port to other systems supported by GCC.

jan_m_savage

and here is the tutorial: https://net2o.de/gforth/Tutorial.html

anta40

Nice to see gforth is still being maintained. BTW, on the other side, looks like gforth still lacks the ability to create native OS executable, something like: gcc myprog.c -o myprog ?

iberator

For people who doesn't know forth: Forth can have comments and doesn't need to be all at one line:) also labels works as functions etc. Its way more tradable language in real life than people think

fallat

The standard library is lacking some really nice conveniences. I'm working on correcting this and teaching Forth as a "grassroots" language for people who want to go back to the joy of programming as an art. The 100rabbits folks have already done a lot of work around proliferating that idea but I want to work outside of the Uxn machine that they use. Mark my words, us programmers are not phased by AI stealing the joy of programming :) The day job business programming, sure. But that was only fun sometimes. Forth will continue to exercise our brains and work through logic and data flow problems - skills we can bring to guiding agents for the day job.

jacquesm

I just did a big project using Forth and it is every bit as useful as it was in the past. Yes, there no security model, and you're going to have to work to manage your project, no fancy IDE or editor. I took a piece of code I wrote in 1988 and built it out to pass the Forth standard core words test and some extensions as well, then added all of the Raspberry Pi io devices as primitives. This makes it a super useful little toolkit (6K loc, 0 dependencies) to build embedded systems with in the robotics space. I did consider using Gforth and another one that Don Hopkins pointed me to but I the end the familiarity with my own code won out over first reading myself into a large project. It all worked pretty well, the device I built with it is performing way beyond my expectations and I'm really happy I chose Forth even though it is a choice that I think only very few people would have made because it feels so old-fashioned. What especially pleased me is the lack of superstructure and the ease with which the whole thing could be moved between machines of varying word-size and underlying CPU architecture. Forth still has a place. Now I need to get my grubby hands on some GA 144s.

Semantic search powered by Rivestack pgvector
10,780 stories · 101,661 chunks indexed