3 ms·
From the FACTOR's FAQ: "Forth is untyped, not garbage collected, and close to the machine. For flow control, Forth code tends to use immediate words. Variables
by LucaDuval 17y ago
From the FACTOR's FAQ:
"Forth is untyped, not garbage collected, and close to the machine. For flow control, Forth code tends to use immediate words. Variables and arrays tend to be global, and programs aren't usually written in a functional manner. Factor is very different from this. It is dynamically typed, offering a high degree of reflection. Unreferenced objects are garbage collected with a generational garbage collector. Factor code is a little bit more distant from the machine, though the C FFI allows using words like malloc and mmap. For flow control, Factor generally uses quotations, allowing flexible higher order functions; parsing words are used mostly for definitions and data literals. Variables are dynamically or statically scoped, and arrays are just objects which don't need to be treated specially"