Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Forth

Name: Anonymous 2012-09-17 2:38

    Is forth a good programming language? From what I've heard is that it is great for coding small programs.

Name: Anonymous 2012-09-19 14:44

>>35
working with only two values at once
What do you mean?

with the speed of a slow threaded code interpreter!
There are Forth interpreters that compile to machine code, but unless they also optimize it, the resulting code is not much faster than threaded code.

And yes, there's no type checking or memory safety, just like assembly. Indeed, if Forth was re-written the right way, it would be kind of a ``portable assembly'' (both in terms of its machine model mapping directly to most current architectures and in terms of the ease of writing an interpreter/compiler for it) but with a built-in powerful macro system.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List