|
|
|
|
|
by rdtsc
4171 days ago
|
|
> Go's panic() acts similarly to what you're expecting out of Erlang. You still have to call it for other libraries. Go uses a shared heap. So even though one go-routine panics, you can't safely assume the state of your system is still predictable. If it is not predictable you can't necessarily safely restart that go-routine. Without Erlang/Elixir I would actually do it with OS processes / containers at a higher level. Erlang's processes are only a few K of memory and are very easy to restart and handle so you get all that built in. |
|