cakeml icon indicating copy to clipboard operation
cakeml copied to clipboard

Should heap and stack exhaustion be catchable?

Open sorear opened this issue 5 years ago • 0 comments

Right now we always abort, but I think the system is in a state where raising a ML exception is possible.

This would be particularly useful for a future REPL.

There are semantic issues here if we want to allow optimizations that reorder two writes to mutable objects with an allocation point between them.

sorear avatar Sep 19 '20 01:09 sorear