News for hackers. Stuff that matters.
Re:Actix: a small, pragmatic, and fast Rust web framework by infynyxx2 on Wednesday May 30, 2018 @04:31PM (#17191463)
Browsing thru Actix guide (https://actix.rs/actix/guide/), I didn't find any explanation regarding what will happen when actor(s) crashes or how crashes[1] are being handled?

http://wiki.c2.com/?LetItCrash

Re:Actix: a small, pragmatic, and fast Rust web framework by lewisinc on Wednesday May 30, 2018 @09:56PM (#17193405)
I feel like Let It Crash and Fail Fast make a lot of sense in a dynamically typed language where, if you were to go ahead and code defensively and try to make assumptions about where your program could possible fail, you'll end up with a bunch of redundant error code and will probably have written error handling for places where the program might not have ever crashed. Rust's Result type makes sections where an error can occur pretty explicit, so I'm not sure it makes sense to follow the same methodology. I'm interested to hear what other people think.
Re:Actix: a small, pragmatic, and fast Rust web framework by fafhrd91 on Wednesday May 30, 2018 @04:49PM (#17191640)
first, you need to define what is crash in rust means. panic or error. in general case you can not recover from panic. in case of error, type system prevents unhanded errors in actors. you can restart actor, but that is controlled by developer action.
Re:Actix: a small, pragmatic, and fast Rust web framework by e12e on Thursday May 31, 2018 @02:58PM (#17199037)
A panic in an actor will take down the whole (rust) server?
Re:Actix: a small, pragmatic, and fast Rust web framework by fafhrd91 on Thursday May 31, 2018 @03:03PM (#17199077)
one thread in best case. But process may die. Depends on panic