3 ms·
I've hit the same wall - alert() is the only thing you can do. Another option are continuations, but as you've said, they require interpretation. My current b
by pwpwp 15y ago
I've hit the same wall - alert() is the only thing you can do.
Another option are continuations, but as you've said, they require interpretation.
My current bet is JS debugger APIs. I think they should be able to pause a program (and do stuff like present a UI while the program is paused) any day now - it's what the WebKit Inspector is doing already.
- jlongster 15y agoYep, that's the conclusion I'm coming to. I still want to try to optimize the interpreter to see if I can get it to acceptable speeds, but I'm quickly seeing that the way to go is to work with browsers to make sure they provide APIs for their debugger.