<p dir="ltr">Folks,</p>
<p dir="ltr">When we talk about the c api being more stable it includes things like c calls being safer between compiler version and implementations. That is abi compatibility rather than at the source level.</p>
<p dir="ltr">The above also applies to gdal.</p>
<p dir="ltr">Best regards,<br>
</p>
<div class="gmail_quote">On Mar 10, 2013 12:01 PM, "Peter Körner" <<a href="mailto:osm-lists@mazdermind.de">osm-lists@mazdermind.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
> Should I use GEOS C or C++ api in my library? I read that C<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
api is recommended because of it is more stable. But when I tried to<br>
use it, I'm missing some functionality.<br>
</blockquote>
<br>
That's what they say. The question is: how stable is "stable" for you?<br>
I'm using the C++ API in my Code for about 1.5 years now and geos changed every now an then a class or method name, switched some parameters around or moved something into another namespace.<br>
<br>
None of these changes created more then half an hour of work on my side. If you plan is to deploy your code onto a customers appliance, you'd be better of using the C api, but for a hobby project or a small business application, the C++ has proven to be stable enough for me.<br>
<br>
Regards, Peter<br>
<br>
______________________________<u></u>_________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/geos-devel</a><br>
</blockquote></div>