Custom OS dev is cool!
Sorry for asking this as a new user
Best regards!

It does not compile to machine code. It's more like a bytecode VM, but not exactly it either. For a programmer new to Forth, I would say it basically just goes through a list (thread) of function addresses it calls. But, it is further complicated by the fact that it is an indirect-threaded Forth, as opposed to a direct-threaded one.Also, is that assembly program a forth bytecode VM of some sort, or is it compiling to machine code?
I think there's a misunderstanding here. I'm not referring to threads. I'm talking about threaded code. I can understand the confusion. : )

I'd be fully supportive of a "Related Topics" forum group with "Programming Language Design & Compiler Development" and "Embedded Hardware" forums. This site should always be about OS Dev first and foremost, but I think there's enough overlap in the subjects that it would be interesting to have.ell1e wrote: ↑Thu Aug 07, 2025 4:39 pmI've wondered if perhaps you ever thought about having a "Making and altering compilers & interpreters etc." section? Could be both for porting existing ones and making new ones, and talking about language projects. The reason I'm asking beyond the overlap previously mentioned, is that apparently there are barely any web forums talking about these sorts of topics in the hobbyist space.

We might have something common in mind. I don't try to reduce the number of assembly language primitives, but I do like to keep each primitive at just a few lines of code.
