Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow! What an amazing story!

I started writing forth few months ago, wrote few interpreters, with jit or with types etc, and its just amazing, I think anyone should do it. TBH I don't think any other exercise has thought me as much about programming as this.

I also notice the "return" of Forth, as it is probably the easiest high level language to make for computers with addressable memory and fetch execute cycle. The parser is just few lines of assembly and of course you can write the parser in the inner interpreter's bytecode, you don't even need assembly :) So hobbyists can just "make it" and make their own tiny operating systems with it. Of course everyone makes their own dialect, but I think thats OK. Things like https://github.com/howerj/lfsr LFSR CPU/VM running Forth, or UXN or duskos/collapseos.

Now you can also use language models to help you onboard into the language, it do some practice programs and rewrite one program in many ways.

So if you are young or old and never tried to Forth, don't miss out, its super fun.



Howerj has a really easy subleq/muxleq interpreter. Eforth under Muxleq runs fast enough (perfectly usable) under an ATOM n270. Subleq too, but Muxleq it's must faster.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: