3 ms·
Something not being usable for a specific usecase doesn't mean $thing is broken. It means it's not applicable for that usecase. My bike is broken, it doesn't g
by anarazel 10y ago
Something not being usable for a specific usecase doesn't mean $thing is broken. It means it's not applicable for that usecase.
My bike is broken, it doesn't go 550mph!!1
Edit: adapted stupid example to be differently stupid.
- pekk 10y agoThis kind of broken reasoning is common in certain communities. Example: this programming language is broken, it can't be used to write drivers for the Linux kernel!
- justinsaccount 10y agoNo, it's more like "This feature is broken, if you attempt to use it for its intended purpose it will fail horribly once you try running it at scale".
- justinsaccount 10y agoReally? multiplexing file descriptors IS the specific use case of select. It would be more like "My bike is broken, when I try to ride more than 12 blocks the wheels fall off". Also, it's not even that select can't handle more than 1024 fds, it's that it can't handle a file descriptor above 1024 at all, so if your app opens a bunch of data files before accepting connection, the limit could be as low as 10 concurrent connections before select fails.