News for hackers. Stuff that matters.
Re:A Lua 5.3 VM and compiler written in Go by weberc2 on Monday October 02, 2017 @11:05PM (#15389817)
> The statement that he could easily implement coroutines via go seems like oversimplification or lack of problem domain understanding.

For someone with a lack of problem domain understanding, could you elaborate on this? :)

Re:A Lua 5.3 VM and compiler written in Go by wruza on Tuesday October 03, 2017 @12:49AM (#15390251)
vm.go/l.call doesn't seem to be reentrant (though I'm not native go speaker). This means that yielding across, e.g. for-loop [edit:]iterators, would leave vm with broken invariants. There are also pcalls that must be dealt with. But since this language is just similar and differs in too many things, explicit restrictions may help solve that, like it was done for <= 5.1.