<p dir="ltr">Hi Maaza, I think that for a plugin python makes much more sense due to the easier distribution. I developed plugins in both c++ and python and I must say that python was much faster to develop also. <br>
I m not saying c++ is bad, on the contrary, i like its structured and robust nature, I m just making a point for python ease of distribution and quick  development.<br>
Regarding performance, python is not as bad as you describe it, foremost if using numpy for the numerical crunching. and even, you could just move the computation in a c module _after_ you actually measure that python is too slow.</p>

<p dir="ltr">so it is not that some want to be the ones that can do it in c++ (I had basically no c++ knowledge when I did my first c++ plugin) it is just that Python advantages are noteworthy.</p>
<p dir="ltr">ciao</p>
<p dir="ltr">Marco Bernasocchi (mobile)<br>
<a href="http://opengis.ch">http://opengis.ch</a></p>
<div class="gmail_quote">On 9 Nov 2013 08:22, "maaza mekuria" <<a href="mailto:sailmcm@yahoo.com">sailmcm@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Dear Nathan and fellow QGIS Users/Developers:<br><br>I am sorry that people are not encouraging the use of C++ for programming. I think this is not helpful at all. There are many reasons to skip Pyhton infavor of C++. In my experience Python is very slow for real computationally intensive work. Also QGIS itself is written in C++, why are do some asking it is too hard. I think it is the lack of documentation that is making development in C++ very difficult for many of us who are not in the QGIS development all the time. This also means that there will be less and less developers that can help with enhancement in expanding QGIS capability. I don't know if some are thinking that "We are the ones who can do it in C++ and let others be content with Python." But I am assuming trusting that that is is
 not so. <br>So please answer questions and provide feedback when you can, but please do not discourage others from pursuing C++. In my opinion, it is still the most robust programming tool available.  Why is QGIS written in C++ and not in Python? <br>
<div><span><br></span></div><div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> On Friday, November 8, 2013 3:12 AM, Nathan Woodrow <<a href="mailto:madmanwoo@gmail.com" target="_blank">madmanwoo@gmail.com</a>> wrote:<br> </font> </div>  <div><div><div dir="ltr">
Compared to C++, Python is pretty easy to pick up.  There are some really good Python videos and after you watch a few of them (or even just one) I would say
 you would feel comfortable in it.  Because the PyQt and Qt C++ APIs are almost the same in terms of porting the code it almost comes right over; plus or minus a few little tweaks. <div>

<br></div><div>I would even say that you would reduce your 3000 line count because Python is a lot less verbose then C++ and allows for some pretty handy styles that reduce the needed code. <div><br></div><div>I use PyCharm as my Python IDE which I have so far found to be the best.  It supports PyQt API auto completion.</div>


</div><div><br></div><div>- Nathan</div></div><div><br><br><div>On Fri, Nov 8, 2013 at 8:11 PM,  <span dir="ltr"><<a rel="nofollow" href="mailto:SSchmidt@gfi-gis.de" target="_blank">SSchmidt@gfi-gis.de</a>></span> wrote:<br>


<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><font face="sans-serif">Hi Paolo, </font>
<br>
<br><font face="sans-serif">yes, our company has to come to a strategic
decision in the next time. And I'm not sure what to suggest. I don't know
python but i think i need much time to port ca. 3000 lines existing code,
otherwise in future it should grow up much more. Besides I'm spoiled of
the IDE of VS, i need to look what pythondeveloper use for it. And do pythondeveloper
not depend on sth, like PyQt? QGIS and Qt are programmed in C++, so there
wait perhaps no bad surprises?... difficult</font>
<br><div>
<br><font face="sans-serif">Freundliche Grüße aus Leipzig<br>
Susann Schmidt<br>
Softwareentwicklung <br>
<br>
**************************************************************<br>
<br>
GFI - Gesellschaft für Informationstechnologie mbH<br>
Philipp-Rosenthal-Straße 9<br>
D-04103 Leipzig<br>
Geschäftsführer: Andreas Richter<br>
Amtsgericht Leipzig HRB 12054<br>
USt.-IdNr.: DE179049354     Steuer-Nr.: 231/109/06412<br>
ESRI Solution Partner      und       ER Mapper
Reseller<br>
Tel. 0341 961 3310    Fax 0341 961 3311   Mail <a rel="nofollow" href="mailto:info@gfi-gis.de" target="_blank">info@gfi-gis.de</a><br>
Web  <a rel="nofollow" href="http://www.gfi-gis.de/" target="_blank">www.gfi-gis.de</a>  und  <a rel="nofollow" href="http://www.themenbrowser.de/" target="_blank">www.themenbrowser.de</a><br>
</font>
<br></div><font color="#800080" face="sans-serif" size="1">----- Forwarded by Susann
Schmidt/gfi on 08.11.2013 10:40 -----</font>
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="40%"><font face="sans-serif" size="1"><b>Paolo Cavallini <<a rel="nofollow" href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></b>
</font>
<br><font face="sans-serif" size="1">Sent by: <a rel="nofollow" href="mailto:qgis-developer-bounces@lists.osgeo.org" target="_blank">qgis-developer-bounces@lists.osgeo.org</a></font>
<div><font face="sans-serif" size="1"><a rel="nofollow">07.11.2013 14</a>:28</font>
</div></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">To</font></div>
</td><td><font face="sans-serif" size="1"><a rel="nofollow" href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
</td><td><font face="sans-serif" size="1">Re: [Qgis-developer] WG: Re:  WG:
Re:  cpp-plugin for QGIS 2.0</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br><div><div>
<br><tt><font>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Il 07/11/2013 10:30, <a rel="nofollow" href="mailto:SSchmidt@gfi-gis.de" target="_blank">SSchmidt@gfi-gis.de</a> ha scritto:<br>
> <br>
> Thank you Andreas,<br>
> <br>
> sounds like there is hope for me :-)<br>
<br>
IMHO you need very strong arguments not to do this job as a Python<br>
plugin. All the external C++ plugins I have seen have died out sooner<br>
or later for the problems in keeping API and ABI compatibility.<br>
All the best.<br>
<br>
- -- <br>
Paolo Cavallini - Faunalia<br>
<a rel="nofollow" href="http://www.faunalia.eu/" target="_blank">www.faunalia.eu</a><br>
Full contact details at <a rel="nofollow" href="http://www.faunalia.eu/pc" target="_blank">www.faunalia.eu/pc</a><br>
Nuovi corsi QGIS e PostGIS: <a rel="nofollow" href="http://www.faunalia.it/calendario" target="_blank">http://www.faunalia.it/calendario</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.15 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a rel="nofollow" href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAlJ7lG4ACgkQ/NedwLUzIr4UiwCeOVYAuooE2kFbZFm+h7JubqAH<br>
HaoAnRjWsVkZ4nYegS9UN6v3JWF2Q6nD<br>
=5cFj<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a rel="nofollow" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a rel="nofollow" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
<br>
</font></tt></div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a rel="nofollow" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a rel="nofollow" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></div>  </div> </div>  </div> </div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div>