Hacker News new | ask | show | jobs
by 7thaccount 729 days ago
I think a lot of recent Forths (at least outside of the embedded space) have been written in C or C++ rather than assembly now that the processors are incredibly complicated. Of course, you can write forth on anything including the JVM or in Python...etc.
1 comments

I think jonesforth is the most popular implementation teaching implementation: https://github.com/nornagon/jonesforth/blob/master/jonesfort...

Factor might be a counterexample if one considers it a Forth, the VM is in part implemented in C++: https://github.com/factor/factor

I think it's portability and ease of development rather than CPU architecture complexity that makes someone pick C/C++ over assembly when implementing a Forth system. Because the Forth won't need much of the assembly language or obscure CPU instructions, the complexity of the architecture won't really matter to whoever is implementing it.

JonesForth is popular for teaching, but most implemented Forths people talk about on r/forth seem to only be written in ASM if the target is embedded. Portability, simplicity, and the complexity of modern processors just seem to make ASM less of a good option these days. I'm no forth expert though...mainly a lurker.
I don't know what "r/forth" is. Some conference?

I'm absolutely not an expert, just a long time enjoyer of some classic Forth books and certain concatenative languages.

r/forth is a subreddit - so https://<reddit url>/r/forth
OK, so a web forum then. I avoid Reddit, I don't believe in corporations as stewards of web forums.
Reddit has issues, but searching for topic + "reddit" is one of the only remaining ways to make Google not a piece of steaming ad-infested garbage. For example, if you want to find the best budget rollerblades, Google will happily serve you page after page of auto-generated garbage. On reddit you can find real enthusiasts giving recommendations.

Also ...ycombinator isn't exactly just a community run bulletin board either. Although HN not being ad infested is absolutely amazing. Also the simple design.