<div dir="ltr">2016-01-27 0:19 GMT-02:00 silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">To summarize my opinion: if I am java programmer, would be better if I can solve my problem via Java classes than using C library binds. If i am a Pascal programmer, i prefer to solve my problem via Pascal classes instead of C binds. Add an external dependency to the code may be a good option in short term, however may become a big problem in long term. Perhaps, if the Lazarus GUI framework was developed using pure pascal ( like fpGUI) instead of using external libraries and frameworks, we could develop mobile apps using Lazarus today. </p></blockquote></div></span><div>Me too, but Java programmers mostly time use external C libraries when it hasn't already implemented some feature yet, it is a good choice, and you can use that Java classes without knowing that it make calls to an external C library. The Free Pascal and Delphi do it too, for example, when you access a database using SQLdb, it uses an external C library (the database client), that is made in C, and many Pascal programmers uses SQLdb with pure Pascal interfaces (headers) without knowing that the main implementation is in the external C library.</div><span class=""><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div>Silvio Clécio</div></div></div>
</font></span></div></div>
<br></blockquote><div><br></div><div>I undertand this. I know <span id="result_box" class="" lang="en"><span class="">it is virtually impossible to drop all the dependency on external C libs on all platforms and programming languages. It is not feasible and such goal is all about waste of time and reinventing the wheel. I wouldn't do this even in my projects.<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Let me </span></span><span id="result_box" class="" lang="en"><span class="">explain</span> <span class="">in another way: </span></span>nowadays<span id="result_box" class="" lang="en"><span class=""></span></span><span id="result_box" class="" lang="en"><span class="">, Lazarus doesn't provide a GUI framework for Android. Perharps, there is a C framework that can solve the problem now. However, </span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">although </span></span>implementing C binds requires relative little time and efforts</span></span><span id="result_box" class="" lang="en"><span class="">, join efforts in projects like LCL Custom Draw and FpGUI</span></span><span id="result_box" class="" lang="en"><span class=""> may</span><span class=""> result in many</span> <span class="">benefits on long-term so, that may be the best choice.<br></span></span></div><div><br></div></div></div></div>