Well, well...
Robert Fraser
fraserofthenight at gmail.com
Fri Aug 3 12:04:11 PDT 2007
Julio César Carrascal Urquijo Wrote:
> Jarrett Billingsley wrote:
> > I've used an app written in Erlang -- Wings3D -- fairly extensively, and I
> > can tell you that the program _never crashes_. If there is an error
> > somewhere, sometimes I'll get a gray screen telling me "hey this crashed, I
> > made a crash log" but then the program picks right back up where it left
> > off. Not really any different than an exception report.
>
> Yes, that's because Erlang supports a mechanism know as process
> monitoring in which for most process another process is launched whose
> sole task is checking up the behavior of the first one. Process are so
> cheap that you can "waste" one process to monitor another and relaunch
> it if it crashes.
Wow, that sounds a lot more complicated than exceptions to do effectively the same thing.
More information about the Digitalmars-d
mailing list