Comparing Exceptions and Errors

Sebastiaan Koppe mail at skoppe.eu
Sun Jun 5 07:28:52 UTC 2022


On Sunday, 5 June 2022 at 06:31:42 UTC, Ola Fosheim Grøstad wrote:
> On Sunday, 5 June 2022 at 00:40:26 UTC, Ali Çehreli wrote:
> That is not very probable in 100% @safe code. You are basically 
> saying that D cannot compete with Go and other «safe» languages.

Go has panic. Other languages have similar constructs.

> So D will never be able to provide actors and provide fault 
> tolerance.

I guess it depends on the programmer.


>> Is the service in a usable state?
>
> Yes, the actor code failed. The actor code change frequently, 
> not the runtime kernel.

The actor code is free to call anything, including @system code.

How would the actor framework know when an error is due to a 
silly bug in an isolated function or if it is something more 
serious?


More information about the Digitalmars-d-learn mailing list