callstack - Is it possible to save/restore the call stack in javascript? -


is possible save/restore call stack in javascript? i'm trying find way implement multithreading in javascript, in regard i'm interesting if possible restore call stack.

is possible save/restore call stack in javascript?

no.

i'm trying find way implement multithreading in javascript

javascript, language, entirely silent on subject of threading. implementations have traditionally used single thread (in browsers, in nodejs, etc.).

implementing multithreading wouldn't possible @ javascript level; you'd have inside javascript implementation (v8, spidermonkey, jscript, etc.).

for instance, both of java's main javascript implementations (rhino , nashorn) multi-threaded.


Comments