Live data from Hacker News

Easy Forth (2015)

skilldrick.github.io

1–10 of 128 posts

Re: Easy Forth (2015)

#3
This is a great resource and running in the browser is great for fast feedback. Thanks for sharing!

I just started learning Forth a month or so ago, and I found this video from Andreas Wagner[1] fun to watch.

If anyone goes through OP's book and find yourself wanting to see Forth in action, I recommend the video.

[1]: https://youtu.be/mvrE2ZGe-rs

Re: Easy Forth (2015)

#6
>> The thing that separates Forth from most other languages is its use of the stack. In Forth, everything revolves around the stack

I mean, that's pretty much every language. The main difference is that the programmer's access to it is unconstrained by things like method call definitions.

Re: Easy Forth (2015)

#7

This has showed up here a few times before (example): https://news.ycombinator.com/item?id=10634918 I'm always interested in hearing people's reactions to Forth though and every now and then you get a cool new story on these threads, so I'm not complaining.

Right. And once again, you’ll also notice that no one is actually coding anything useful in Forth.

Re: Easy Forth (2015)

#8
post #7

This has showed up here a few times before (example): https://news.ycombinator.com/item?id=10634918 I'm always interested in hearing people's reactions to Forth though and every now and then you get a cool new story on these threads, so I'm not complaining.

Right. And once again, you’ll also notice that no one is actually coding anything useful in Forth.

In Factor though, they do.

https://factorcode.org/

Re: Easy Forth (2015)

#9
post #7

Earlier quoted context omitted.

Right. And once again, you’ll also notice that no one is actually coding anything useful in Forth.

In Factor though, they do. https://factorcode.org/

It looks like it's still being developed, but I feel like the 0.1 version number hasn't changed in 10 years. What cool projects are people making?

Re: Easy Forth (2015)

#10
post #6

>> The thing that separates Forth from most other languages is its use of the stack. In Forth, everything revolves around the stack I mean, that's pretty much every language. The main difference is that the programmer's access to it is unconstrained by things like method call definitions.

Unlike most languages, Forth has two stacks. It sounds trivial, but it changes many things. It allows for a leaner call convention. With a single stack, every function call has to "shovel forward" its arguments over the function return address, where Forth "glides" through its arguments, making function calls significantly lighter.
Post reply on HN