3 ms·
I share the exact same sentiments as you, and, would also love to know if there is anyway to mimic something like the OTP supervision tree. One-for-one? One-f
by dylanz 13y ago
I share the exact same sentiments as you, and, would also love to know if there is anyway to mimic something like the OTP supervision tree. One-for-one? One-for-all?
- zimbatm 13y agoNot on the Go level. You can't guarantee memory safety after a panic since it's shared between the goroutines. It's also not possible to do code live-reload. On the unix level it would be possible if your process manager supports dependencies between processes and you're able to connect pipes between them. This would also be much more heavy than erlang threads in terms of memory.