13 ms·
Which is why it's reasonable to have configurable limits for both processing space and time in anything handling untrusted data.
by knome 2y ago
Which is why it's reasonable to have configurable limits for both processing space and time in anything handling untrusted data.
- kazinator 2y agoUnixes give us that. You have to fork the computation to have it contained in its own process, whose run-time, virtual memory limit, and stack depth you can control. Doing it all in your VM/runtime, so you can bail the computation with an exception, is more challenging.
- BradSwain 2y ago> Unixes give us that. You have to fork the computation to have it contained in its own process Is forking a new process on each call to a recursive function practical?