Robin Green
Robin Green

Reputation: 33033

Which JVM languages are stackless?

Which Turing-complete language implementations on the JVM do not use the JVM stack as a call stack?

(I ask because I want to implement coroutines between Scala and another language in the same thread.)

Upvotes: 2

Views: 122

Answers (1)

Robin Green
Robin Green

Reputation: 33033

  • Morpho
  • SISC (Second Interpreter of Scheme Code)

Implementations which once did not use the JVM stack, but in their latest versions, do:

  • LuaJ, prior to version 2
  • JRuby (in its experimental YARV bytecode interpreter, since removed)

Upvotes: 1

Related Questions