March 26
On 26/03/2024 2:58 PM, electricface wrote:
> On Sunday, 10 September 2023 at 02:12:17 UTC, Adam Wilson wrote:
>> On Saturday, 9 September 2023 at 19:06:24 UTC, ryuukk_ wrote:
>>> [...]
>>
>> For the moment EH is a problem, but it's known problem, and one that was discussed at length at DConf. From what I gathered Walter wants to move in the direction of a Herb Sutter style system where exceptions are returned up the stack silently via a shadow value in the return statement. It's actually a pretty elegant solution. It's not here now because of the pause, but
> 
> I also think that this kind of exception handling would be more efficient. When can we expect to see any actual progress on this feature?

I'm currently waiting on sum types to continue towards a DIP.

It depends upon it for catch all, plus there may be some reuse in the compiler.
March 25
On Tue, Mar 26, 2024 at 01:58:46AM +0000, electricface via Digitalmars-d wrote:
> On Sunday, 10 September 2023 at 02:12:17 UTC, Adam Wilson wrote:
> > On Saturday, 9 September 2023 at 19:06:24 UTC, ryuukk_ wrote:
> > > [...]
> > 
> > For the moment EH is a problem, but it's known problem, and one that was discussed at length at DConf. From what I gathered Walter wants to move in the direction of a Herb Sutter style system where exceptions are returned up the stack silently via a shadow value in the return statement. It's actually a pretty elegant solution.
[...]

I've been saying this for years now, good to finally see some movement in this direction.


T

-- 
"If you're arguing, you're losing." -- Mike Thomas
1 2 3 4 5
Next ›   Last »