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