News for hackers. Stuff that matters.
Re:Guietta – Python module to create simple GUIs by FpUser on Friday July 03, 2020 @05:58AM (#23722638)
It takes many years and many people to build tools of that quality. Practically speaking it is way more easy to learn new language instead. I have no problem using Delphi and Lazarus for desktop applications. Saves me big amount of time.
Re:Guietta – Python module to create simple GUIs by StavrosK on Friday July 03, 2020 @07:25AM (#23723050)
The language isn't the problem, the ecosystem is :/
Re:Guietta – Python module to create simple GUIs by canistel on Friday July 03, 2020 @08:26AM (#23723352)
For Free Pascal (which is used in Lazarus), you can use almost all of the native libraries (linked dynamically, and in many cases even statically). It is not as straightforward and easy as using _pip_ or _npm_, and maybe not as organised, but you can translate the headers to Pascal and get it working. You are not stuck with what comes with Lazarus or Free Pascal, or libraries that are exclusively written in Free Pascal.
Re:Guietta – Python module to create simple GUIs by stormdennis on Friday July 03, 2020 @07:38AM (#23723119)
What do you mean by the ecosystem?
Re:Guietta – Python module to create simple GUIs by StavrosK on Friday July 03, 2020 @07:40AM (#23723131)
The available libraries. For Python/JS, I can find libraries to do basically anything I want, but not so for Lazarus libraries.
Re:Guietta – Python module to create simple GUIs by FpUser on Friday July 03, 2020 @08:34AM (#23723416)
I guess that depends on what you do. I've never felt that I do not have enough ecosystem in Delphi/FreePascal but I know there are areas where I would not be lucky if I ever went there. Then again on few occasions I had no problems creating pascal headers from C libraries I wanted to use. There are tools that depending on particulars can make it almost automatic.
Re:Guietta – Python module to create simple GUIs by hsitz on Friday July 03, 2020 @05:23PM (#23727794)
Python4Delphi project has been around for around twenty years now, allows using Python from within a Delphi/Lazarus GUI framework: https://github.com/pyscripter/python4delphi
Re:Guietta – Python module to create simple GUIs by boznz on Saturday July 04, 2020 @09:08PM (#23735974)
Not saying pascal is perfect but I haven't come across any issues with missing libraries.