News for hackers. Stuff that matters.
Re:Long live the callbacks by jerf on Thursday August 22, 2013 @03:16PM (#6259404)
"In theory an optimizing JavaScript engine could reuse the same captured variable environment across multiple closures if it's the same, resulting in the same asymptotic performance as Go."

I said stack frame, not capture environment. You don't "store it" in the goroutine stack, it is the goroutine stack. Something like Node is going to be constructing and destructing frames much more often.

There are no comments on this comment yet.