Re:DConf 2026 in London
by alphaglosined on Wednesday July 29, 2026 @05:23AM
(#49095122)
I created the D version of the value type exceptions proposal.
In the end, it was DOA due to compiler architecture, so that was the end of that beautiful design.
I've had to accept result types is about as good as its going to get, all that is missing to make them nice is unwrapping support in if statements. Which I too have a proposal for and implemented it. But alas politics.
Additionally, Khalil Estell has made an excellent work proving that the way exceptions are currently implemented is not optimal and there is plenty of room for improvement, when someone cares about their implementation.
"Cutting C++ Exception Time by +90%? - Khalil Estell - CppCon 2025"
https://www.youtube.com/watch?v=wNPfs8aQ4oo