Rethinking splice()
Rethinking splice()
Posted Mar 1, 2023 11:03 UTC (Wed) by paulj (subscriber, #341)In reply to: Rethinking splice() by farnz
Parent article: Rethinking splice()
The fallback thing, the problem is the entity asking for the optional enhancement, that could otherwise be ignored, often will not implement the fallback path. So with a hard fail, the entire thing may fail. You need more logic to make the "nice to have, but optional and can be ignored" thing work reliably. The test matrix gets bigger (and bigger and bigger, with each such option).
Just having it silently ignored if communicated to an entity that doesn't know it is simpler, and can not have fallback path bugs.
Trade-offs in all directions. ;)
Posted Mar 1, 2023 11:22 UTC (Wed)
by farnz (subscriber, #17727)
[Link] (1 responses)
And to add another layer to the tradeoffs (one that's changed over time, to boot), in today's world it's often easier to not bother with the new feature at all until you can guarantee that all the hosts your application runs on have the new kernel feature, whereas it's often hard to get all the remote endpoints of a service you depend upon upgraded to new networking features.
This will change again, but for now, that's where we sit.
Posted Mar 1, 2023 17:02 UTC (Wed)
by paulj (subscriber, #341)
[Link]
Rethinking splice()
Rethinking splice()