Re:The cost of Go's panic and recover
by flicaflow on Tuesday March 04, 2025 @04:23AM
(#43252348)
If I remember correctly, the original actor implementation from scala used exceptions for control flow internally. Blocking on input queues would have blocked a whole thread which doesn't scale for a paradigm which should allow you to run very large numbers of actors. So the exception was used to implement something like light threads. Luckily go solves this problem with go-routines internally.
[ Parent
| on HN ]
There are no comments on this comment yet.