Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I honestly love posts about Forth (or Factor) and Common Lisp (or Lisps in general). I love both languages. On top of that, I use C a lot, along with OCaml, Lua, and Erlang (and rarely Ada). I find each one of them beautiful. :)


sort by: page size:

Funny, my three favorite languages are Forth, C and Lisp. Three beautiful, awesome languages.

Sweet! I learned to program by writing a Forth compiler. Was an excellent way to learn. I only discovered Lisp much later, and definitely like what I see, but haven't gotten around to learning it properly yet.

Interestingly, Lisp people think that Lisp doesn't have much syntax -- Forth has even less. It's basically words separated by spaces, and that's it.

Is it just me, or has Forth been getting quite a bit of mention recently? Perhaps it's because the Forth-derived Factor language is getting more popular.


Wow! That's wonderful!. Forth and Lisp were my favorite languages long long time ago. Python is my current daily use language among others. I even don't know they are connected.

I quite like Forth. It feels like a blend of lisp and apl. And even ml if you squint a bit at it as an applicative as composition system.

People on reddit seems to hint at the fact that Forth people stay under the radar because it allow them to design and solve problems in better ways.

I wonder how true it is ..


The parallels between Forth and Lisp seem painfully obvious to me, but I’ve had knowledgeable programmers here tell me I’m hallucinating when I say that. I really need to spend more time with both.

Forth is as lispy as stack langs get. Though nowadays, Factor is the new Forth.

Forth and Lisp come to mind.

I been wanting to make a forth+lisp language for a while now - inspired by HP's RPL (its so close to being a lisp!).

Super cool


Thanks for the recommendation. I had never heard of Forth, except as a buzzword, until I heard a local hacker give a short explanation of Factor, which is largely inspired by Forth:

http://factorcode.org/

I played with the demo a bit. It's very interesting. Even in the first few minutes you can sense the potential power of its super-spartan stack-based syntax, though if you're the kind of person who hates Lisp because it doesn't have the C syntax your head will probably explode at the sight of Factor or Forth.


Me too. For some reason, Lisp is kinda easier for me. And if I need to go low level: assembly.

I read Forth was popular among embedded devs during 80/90s. That's not my field, though.


Could you expand on how Forth differs from Lisp? I don't know Forth.

Forth is a nice language, and seems appropriate where other low level languages are, like C. (My day job involves Haskell though.)

Nice to see more interest in Forths and concatenative languages lately on HN. IMO they’re even more amenable to metaprogramming than Lisps, and there’s a lot of power in a compositional, interactive style of programming, especially for a low-level language with no safety nets. I definitely recommend playing around with a Forth (I like Gforth) or Factor, and trying to absorb some of the philosophy—it’s helped improve my program design in other languages.

Forth seems to have one thing in common with Lisp: a small dedicated following that believe it's the way forward and considerably easier to learn, despite never really having taken off.

I suspect this is something to do with different ways of conceptualising programs.


Forth is a beautiful language. Just like Lisp, Smalltalk, and others have a comeback, I won't be surprised if the same happens soon with Forth as well.

Forth is Lisp, but with composition as the basic operator instead of application. The result, of course, is a wildly different language but one which inspired the same degree of fanaticism among its adherents in their search for simplicity and elegance.

A truly under appreciated language imho.


I really like Forth, it seems to me to be very much the right way to do things, however I've never managed to write an actually useful program in it.

Mostly I use Tcl as a sort of Lisp/Forth mashup :-)


Yeah. It seems to get overlooked a lot. Forth clicked for me easier than Lisp. It still requires you to build out a lot unless you build it on top of higher level languages.

Great username btw.


Currently I'm learning Forth and I really like that language! It's a brain twist and that's reason enough to have a look at :-)
next

Legal | privacy