Is it possible for a stack-based programming language to be concurrent?
-
05-11-2019 - |
Question
I have been reading about stack-based programming languages, such as FORTH and Cat, and it seems that given their nature, they can only execute one action at a time regardless of their paradigm (FORTH is imperative whereas Cat is functional).
An imperative language would modify the stack, and a purely functional language, such as Joy, would return a new stack, but the point is that only one stack is used at a time.
So, can stack-based programming languages be concurrent? Could they achieve concurrency by using multiple stacks at the same time or something alike?
Is it possible to implement lazy evaluation in a stack-based programming language?
Please correct me if I am misunderstanding anything about the languages and concepts mentioned above
No correct solution