[Proj] Use of C++

Kurt Schwehr schwehr at gmail.com
Sun May 27 11:54:31 PDT 2018


I encourage anyone with a real microcontroller example that needs Proj but
can't use C++ to step forward.

I also encourage people to provide example of real trouble along the lines
of Bucher's to provide examples.  Especially powerful if done up in
https://godbolt.org/ or similar.  I argue that C++ can do anything as well
as C can.  Just like any language, it also has plenty of ways to build junk.

Please do not use GDAL as the C++ standard... Most of GDAL is legacy style
C++ by today's standards.

If people are having problems with a C++ language feature that is proposed
for use, it would be good to discuss it.  e.g.

https://goo.gl/vuA3D6

On Sun, May 27, 2018 at 11:09 AM, J Luis <jmfluis at gmail.com> wrote:

>
>
> On Sun, May 27, 2018 at 10:32 AM, Kristian Evers <kreve at sdfe.dk> wrote:
>
>> Figured I’d chime in on this subject as well. As one of the co-signers of
>> gdalbarn.com
>> I am obviously on board with the switch to include the use of C++ in
>> PROJ. And from
>> the responses so far it seems the community is largely behind the effort
>> as well,
>> apart from a few skeptics.
>>
>
> Hi,
>
> I am sorry but I don't think we can conclude that. The proponents
> naturally are in favor and, given that they will do the work, that is a
> strong argument. However, there is often forgotten price to pay when a code
> moves from C to C++ that is the reduction of potential contributors.
> Speaking only from myself, but knowing I'm not alone, C++ is an awfully
> complicated language that is beyond my suffering endurance. Not that it was
> really important but there were times I tried to contribute to GDAL but hit
> the C++ wall.
>
> I also find the embedded systems argument a valid one but have poor
> knowledge on the subject. What I have read here and there is that C++ codes
> makes bigger and more resource demanding needs that those made with C.
>
> That said, and as I mentioned in beginning, those that will implement the
> new features have ofc the main word.
>
> P.S. Sorry, couldn't resist to point to this provocative reading.
> http://archive.is/2016.05.17-214038/https://www.linkedin.
> com/pulse/why-i-dont-spend-time-modern-c-anymore-henrique-bucher-phd
>
> Joaquim Luis
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>



-- 
--
http://schwehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20180527/503f3dcd/attachment.html>


More information about the Proj mailing list