5 ms·
While similar, it's not the same. Erlang/OTP/Elixir provides baked in tools to watch, restart, etc. processes. In C you'd need to do this yourself.
by honua 10y ago
While similar, it's not the same. Erlang/OTP/Elixir provides baked in tools to watch, restart, etc. processes. In C you'd need to do this yourself.
- avodonosov 10y agoThe tools to watch, restart, etc are bash, ps, top, etc
- dozzie 10y agoNot really. Those are equivalent to monitors and links in Erlang/BEAM, if we go this line of thought. OTP is a collection of architectural patterns coded down in Erlang (what means OTP is a framework).
- avodonosov 10y agoWe are talking about error handling. My point: "let it crash" aka "failstop principle" is well known for decades, and practiced in all major languages.
- dozzie 10y ago> We are talking about error handling. I thought we switched to a little more down-in-the-trenches discussion with you saying: > The tools to watch, restart, etc are bash, ps, top, etc
- avodonosov 10y agoCarried away a little. Not to say it's not interesting to compare Unix/C programs with OTP/Erlang, but it's a different subject.