[OT] - C++ exceptions are becoming more and more problematic

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Feb 23 16:45:33 UTC 2022


On Wed, Feb 23, 2022 at 02:26:41PM +0000, matheus via Digitalmars-d wrote:
> Just saw this today:
> 
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2544r0.html
> 
> Seems relevant to any System Language like D that features Exceptions.
[...]

Quote:

	"The root cause is that the unwinder grabs a global mutex to
	protect the unwinding tables from concurrent changes from shared
	libraries. This has disastrous performance implications on
	today’s and upcoming machines."

Does D's unwinder grab a global mutex?


T

-- 
He who sacrifices functionality for ease of use, loses both and deserves neither. -- Slashdotter


More information about the Digitalmars-d mailing list