News for hackers. Stuff that matters.
Re:The error model of Microsoft's new language by luckydude on Monday December 30, 2013 @01:16PM (#6985914)
Seems like if you used processes to implement components and had a master process to respawn when a "component" dies then it is just assert() vs perror().

That's hand waving past any shared state but if you need that I suppose you use threads (I'm not a thread fan but I have to believe there is a thread_assert() that kills just that thread).

Re:The error model of Microsoft's new language by asveikau on Monday December 30, 2013 @02:02PM (#6986180)
Introducing threads and multiple processes seems slightly crazy. Remember that ideally the most common case is no failure at all and you don't want to introduce cost for that. Why not just have the point of failure unwind the stack until it sees a component boundary? Without multiple address spaces certain types of failure would blow up the whole process but that's life.
Re:The error model of Microsoft's new language by mcguire on Monday December 30, 2013 @04:41PM (#6987163)
That's how Erlang OTP does it, IIUC.