Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The language isn't the problem, the ecosystem is :/


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.


What do you mean by the ecosystem?


The available libraries. For Python/JS, I can find libraries to do basically anything I want, but not so for Lazarus libraries.


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.


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


Not saying pascal is perfect but I haven't come across any issues with missing libraries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: