Has there been some innovation in EH since Cargill's spine-chilling exploration of making a simple container strongly exception safe? I recall the consensus being that it was quite difficult to actually be strongly exception safe, but it sounds like that's no longer the case now.
Mike On Mon, Jan 4, 2016 at 10:08 AM, Luke Wagner <lwag...@mozilla.com> wrote: > > 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. > > Agreed. Or, as Bjarne used to say "no naked news" :) It feels like > we've been gradually migrating to the codebase to this style *anyway* > since it's more maintainable even w/o EH. > > > But converting existing code is hard. (And maintaining a boundary > between EH > > and non-EH parts of a program sounds like a huge headache.) > > Also agreed :( However, based on our relative success using static > analysis to switch from conservative to precise GC, I was thinking > that it would be possible to apply similar techniques to incrementally > switch to EH. Still, as you said, a relatively large investment so > not one I'd advocate for making atm. > _______________________________________________ > 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 > _______________________________________________ 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