[geos-devel] RFC6 - Discourage use of C++ API by requiring a configure switch to install the c++ headers and SDK

Howard Butler howard at hobu.co
Wed Oct 4 08:19:47 PDT 2017


> On Oct 4, 2017, at 12:08 AM, Regina Obe <lr at pcorp.us> wrote:
> 
> According to RFC1 – it says the motion can not pass    https://trac.osgeo.org/geos/wiki/RFC1 <https://trac.osgeo.org/geos/wiki/RFC1>  with a -1 and I have to give Hobu a chance to debate his point J
>  
> "Respondents may vote "-1" to veto a proposal, but must provide clear reasoning and alternate approaches to resolving the problem within the two days."
>  
> So I'd like to hear Hobu's alternative suggestions.

Sandro's suggestion to require users to #define an obnoxious acknowledgement to use the C++ API, with the expectation that it continues to be installed by default for any and all to continue, is a reasonable compromise to me.

I'll back down my -1 to -0 if the RFC is modified to reflect that scenario.

> Thanks for picking up this issue, and your persistence and pragmatism, and the way you strived to listen to concerns and reach a consensus. Frankly from reading all the threads in one sitting, Mateusz and Howard didn't approach it similarly which is disappointing.

My pragmatism is we don't get to change the rules after we've put things out there and people now might depend upon us. The C++ API for GEOS *pre-dates* the C API. The GEOS C API was a response to the recognition that some API insulation (along with a FFI-friendly interface) would be useful. 

It is not the library's responsibility to provide personal protective equipment. C++ users know the deal and accept that bargain when they use APIs. My note about GDAL in the previous email was to acknowledge that this same suggestion, to remove the C++ API, could not even be seriously considered there because there is so much public use of that API. There's even more *private* use that people probably don't know about. The same could be said for GEOS.

Packaging systems need to make decisions about moving forward with base versions of foundational libraries like GDAL and GEOS with acknowledgement that doing so may cause some laggards to be dropped. The packagers can't write software to update the laggards, and the libraries need the freedom to innovate. Attention is life, as Paul said.

Howard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20171004/e7c86d8f/attachment-0001.html>


More information about the geos-devel mailing list