Hacker News new | ask | show | jobs
by AmalgatedAmoeba 1302 days ago
IIRC WebAssembly is at least partially inspired by Forth — both in syntax and being stack-based.
1 comments

Python too, and of course PostScript.
Python has nothing to do with Forth, they couldn't be more opposite to each other if they tried. I recall Chuck Moore in a Silicon Valley Forth Interest Group meeting express his disappointment at how modern programming languages (and Python was among the ones mentioned) that are advertised as "simple" are anything but.

Python is an enormously complex language, full of inconsistencies and bad design. However, it masks that complexity behind a facade of user-friendliness which has done wonders for its popularity. Forth is not only as simple as it gets, but also an elegant and totally honest language. That Chuck Moore managed to distill the essence of programming in this form, speaks to his genius. Unfortunately, as is often the case with genius, it can be decades to centuries until the ideas percolate and emerge in a popular fashion.

> Python has nothing to do with Forth, they couldn't be more opposite to each other if they tried

Really? You don't look at the stack machine that runs the .pyc files and go "jeez this is just Forth with some syntactic sugar on"?

> Really? You don't look at the stack machine that runs the .pyc files and go "jeez this is just Forth with some syntactic sugar on"?

No, because stack machines, including stack machines for use as interpreters of compiled languages, pre-date Forth by many years: https://en.wikipedia.org/wiki/Stack_machine