On Mon, Dec 21, 2015 at 10:26 AM, Ehsan Akhgari <ehsan.akhg...@gmail.com>
wrote:

> There is also the issue of writing exception safe code, which is extremely
> difficult to do, especially when you have piles of code assume there are no
> exceptions.


Yup. This is what I was referring to in my original post ("huge investment
of time").

I know from experience that it is NOT "extremely difficult" to write
exception-safe code. It's really pretty simple: use RAII, use destructors
for cleanup.

But converting existing code is hard. (And maintaining a boundary between
EH and non-EH parts of a program sounds like a huge headache.)

-j
_______________________________________________
dev-tech-js-engine-internals mailing list
dev-tech-js-engine-internals@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to