News for hackers. Stuff that matters.
Re:The use of `class` for things that should be simple free ... by jmull on Thursday May 28, 2020 @01:15PM (#23339838)
Hm, I guess this is moving in the direction of a debate on semantics and API design... which is independent of the original topic.

I don’t know what stable_search is, but it would be a design decision if/how it supports different memory management options for buffers, and isn’t really affected by the decision to use a class or top-level function for implementation. Either way, buffer allocation could be hidden in the implementation and out of the user’s control or exposed to some degree and under the user’s control.

There are no comments on this comment yet.