News for hackers. Stuff that matters.
Re:Go channels are bad by chrsm on Wednesday March 02, 2016 @12:14PM (#11211294)
Example: Recently built a small service that responds to requests and walks various files looking for data.

The service can be asked to unload (close) the file, but it's hard to say whether it's in-use at the time without some kind of reference count to current requests using the file.

Re:Go channels are bad by nly on Wednesday March 02, 2016 @12:20PM (#11211343)
That's kinda what dup() is for. Reference counting happens in the kernel.