Re: [geos-devel] perl bindings for geos (Geo::Geos)

2019-08-14 Thread Sandro Santilli
On Wed, Aug 14, 2019 at 01:00:07PM +0300, Ivan Baidakou wrote: > - It is trivial to write Perl(XS) adapters for C++ interface, rather than > for C, as we are using XS::Framework [3]. For example, for perl code I've been thinking for some time to ship a simplified C++ interface to wrap the C-API.

Re: [geos-devel] perl bindings for geos (Geo::Geos)

2019-08-14 Thread Ivan Baidakou
On Wed, 14 Aug 2019 11:39:32 +0200 Sebastiaan Couwenberg wrote: > > The bindings are done > > for C++ geos interface, and mostly maches 1 to 1, when it is possible to > > keep API "perlish", > > i.e. not to crash due to dangling reference. > . > Why not the stable C API? > > The bindings

Re: [geos-devel] perl bindings for geos (Geo::Geos)

2019-08-14 Thread Sebastiaan Couwenberg
On 8/14/19 11:32 AM, Ivan Baidakou wrote: > The bindings are done > for C++ geos interface, and mostly maches 1 to 1, when it is possible to keep > API "perlish", > i.e. not to crash due to dangling reference. Why not the stable C API? The bindings are likely to break every time GEOS is