On 11/26/2019 7:41 AM, Michael Wojcik
wrote:
I was initially a fan of them when I first heard of them, but have since soured on them, as have others. They are very nearly useless for libraries, because their behavior is controlled on a process-global basis. The library cannot assume that the "bad" cases will result in aborts, because the application might have chosen to have them return errors instead. That means that the library has to check for and handle all of those "should be impossible" error cases. Here's a paper on the subject: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm -- Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris |