[Vm-dev] FFI callbacks

tim Rowledge tim at rowledge.org
Wed Nov 26 18:47:18 UTC 2014


On 25-11-2014, at 4:18 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:

> I absolutely need callbacks that happen after the method returned. JavaScript uses callbacks for everything, because it is single-threaded. There is no preemption, and not even a yield: you always have to return completely back to the browser. You don’t call the browser, it calls you. There is no main(). Also, there is no longjmp.

Ah, so it’s back to the old days of  Windows 3.1, MacOS System 8 & RISC OS. What fun!


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Planetary axial tilt: the actual 'reason for the season'.



More information about the Vm-dev mailing list