Forth is actually a pretty interesting language, stackrobatics aside. Very simple language, extensible and untyped, the latter making writing a library of (data structures|containers) pretty straight forward. I personally think it should be a companion language to Scheme in the teaching of Computer Science, Forth being one step removed from Assembly, though I'd do away with stack manipulation and use local variables instead. Yes, Forth already has local variables but they use their own stack which means there's overhead in using local variables, since you have to keep moving data between stacks. Of course, an optimizing compiler could do away with that, but then you couldn't use the compiler code as a teaching tool to new students beacuse it would be too complicated. And having an extra stack for local variables gives Forth a grand total of 4 stacks, which doesn't fit very well with the most widespread cpu architectures today, their being one-stack architectures. Unless you ``freeze'' the stacks at runtime and merge them in one working stack, which means stack manipulatios would actually be done at compile time and sort of complicate things when combining stack manipulations and control flow structures. But I digress.
>>9
From what I've read and what I know about Forth it is considered to be a bad practice to use local variables.
If you want to use Forth to build a high performance application it is also better way than use a full blown forth system with dictionaries which generate massive overhead.
DO YOU HEAR THAT SOUND? IT IS THE SOUND OF A WILD NGGER MATURE, VIOLATING YOUR MERE EXISTENCE IN THE FORM OF A BIG BLACK COCK PENETRATING YOUR SMALL WHITE ANUS. YOU CANNOT KILL ME. I LEARNED HOW TO COMPOUTERS WORK AT THE PASSWRD NIGGR LEVEL. YOU MUST GOOD WITH NGGER PASSWRD!!
I AM THE MOST FUCKING NGGER MATURE!
Name:
Anonymous2011-03-03 3:10
thx op i came on cat she hiss at penis
Name:
Anonymous2011-03-03 8:35
>>11
Forthers think that using local variables hinders finer factoring of functions, which may be true but is also moot if your more finely factored code ends up being unreadable. I don't completely understand what you wrote in the 2nd sentence in your post, but it seems like you're saying small simpler Forth systems are better for writing high performance applications than big bells-and-whistles Forth systems like bigForth and SwiftForth, which seems like misinformation since the latter procuce optimized i386 code while the former procuce some form of threaded code, which is clearly a poor choice when writing high performance applications.
Name:
Anonymous2011-03-03 14:57
Consider this: A pack of wild... Fuck copypasta.
Name:
Anonymous2011-03-03 15:50
Consider this: A pack of wild COMPUTER NGERS.
Savage, slavering COMPUTER NGERS nearing your white home. Trampling your white lawn. REUIREQ YOUR GOODER PASSWRD.
And you can't do shit since they're savages. The COMPUTER NGER leader grabs your wife and fucks her with his EIGEN VECTOR.
The primal Niggers finally dominate your pasWRD. They watch barbaric shows on TV and you are forced to PROPOSE TO YOU AN COMPUTER NGER.
Such is the downfall of the NIG SIRS.