3 ms·
Infinite loops (accidental in my case) should probably be catched in some way.
by dorianm 10y ago
Infinite loops (accidental in my case) should probably be catched in some way.
- brian_cloutier 10y agoYeah, the halting problem has been around since 1936. You'd think someone would have solved it already!
- azeirah 10y agoif (time_elapsed > some_arbitrary_threshold) { interrupt_sandboxed_code(); }
- jlebrech 10y agomaybe give the scripts a quota of cycles then can consume. maybe the script tag should support that one day