News for hackers. Stuff that matters.
Re:Show HN: Easy-to-configure Web Server in Go by dragonwriter on Monday July 29, 2013 @10:13PM (#6125037)
> How do you propose to make exceptions work in the presence of large number of cooperating goroutines?

Exceptions propagate up the call stack within a goroutine, and then, if not recovered within the goroutine that raised them, crash the whole program.

(I cheated a bit -- that's how go already handles exceptions, which it calls "panics". The difference between go and, say, Java is that the core and standard library don't panic as much as Java's throws exceptions, leaving the decision to panic to user code more often.)

There are no comments on this comment yet.