News for hackers. Stuff that matters.
Re:Bringing the web up to speed with WebAssembly by marcosdumay on Friday September 22, 2017 @01:44PM (#15314185)
> What's the reasonable thing to do when a grow-memory instruction returns -1?

99% of the time, you proceed to try to write into address (-1) and your process is killed by the supervisor. Despite what many people say, that's a perfectly reasonable thing to do, if you can afford to have your process killed.

The rest of the time, you'll do something very application dependent, like cleaning caches, optimizing for space instead of time, postponing some task, etc.

There are no comments on this comment yet.