Programming > General

What are we missing?

(1/22) > >>

Lazarus is a better tool compared to scripting languages like Python and it's even better than Java because Java needs JVM and does not naively support GUI.

Lazarus is far lighter to install and work on even on Raspberry Pi, produces EXE or native applications for Mac or Linux with almost 0 changes to the original code.

You can make complete Applications in it.

I agree I was a Delphi programmer long back in 1992 - 2006, when I shifted to C# as Delphi started supporting CLI or .NET, which was annoying for me, I had installed Lazarus many times but when it came to writing an application I never used it for some reason, this is the first time I used Lazarus and I found it really supporting everything, yes editor isn't really very good and there are small bugs but that is same with any other tool.

I don't understand one thing, when you could do similar or better Application in Lazarus why is Python popular? When you can do more and better in Lazarus?

Users won't use the software simply because it is better. Lots of things needed to be put in to consideration. I think Python is famous and widely used because it is easy to embedded to other software.

--- Quote ---Python has been successfully embedded in many software products as a scripting language, including in finite element method software such as Abaqus, 3D parametric modeler like FreeCAD, 3D animation packages such as 3ds Max, Blender, Cinema 4D, Lightwave, Houdini, Maya, modo, MotionBuilder, Softimage, the visual effects compositor Nuke, 2D imaging programs like GIMP, Inkscape, Scribus and Paint Shop Pro, and musical notation programs like scorewriter and capella. ... It has also been used in several video games ... LibreOffice includes Python and intends to replace Java with Python.
--- End quote ---

Those names above, which I highlighted bold are famous software for designers. I do graphics using Blender, GIMP and Inkscape, I wish I can write my own plugins for them using Python.

--- Quote ---Large organizations that make use of Python include Wikipedia, Google, Yahoo!, CERN, NASA, and some smaller entities like ILM, and ITA. The social news networking site Reddit is written entirely in Python.
--- End quote ---

The list above shows Python is supported by large organization. According to the link below, supportive community and great corporate sponsors contribute the popularity of Python:

Yes, Lazarus/FPC/Pascal has large community too. But the problem is, they constantly fight each others rather than working together. Pascal users often quarrel which is better: Lazarus, CodeTyphon or Delphi. Any downfall of them is generally bad for Pascal community.

--- just my 2 cents ---


--- Quote from: Greeniemax on October 18, 2017, 07:24:35 am ---when you could do similar or better Application in Lazarus why is Python popular? When you can do more and better in Lazarus?
--- End quote ---

I use both python & Pascal and though py IDEs often have fewer features or are annoying like KDevelop I encounter too much breakage in Pascal to be content with it. I mean I accept a lil setup work and all, but I dont like unpredictability.

Delphi had a proper dashboard where all paths and binaries could be monitored while Laz lets you goof around with control-files yourself. I mean where is a GUI when you need it?

Another reason is bindings. Python comes close to C in this respect. When there are bindings for C, most likely there are also bindings for Python. GTK and Qt are two examples, which is why Python is used a lot in Linux next to C.

Also, when big companies start using a (scripting) language on a large scale, it usually becomes popular. This is true for Python and Java.

Pascal in this respect was pretty much put aside in the late 80s and 90s. It was considered an educational programming language (which was the purpose of its design in the first place) less suitable for professional programming, despite its popularity during the 80s.

Pascal (and Lazarus/Delphi) could have been where C and Python are when companies would have made the other choice.

Usually (and I did quite a few) creating a Pascal binding for a C library takes less than a day, often just some effort and just a few hours including tests. FPC has tooling for that.
e.g. the C preprocessor (to resolve any macro's) + h2pas and h2paspp. But it takes a programmer that is just as proficient in C as in Pascal to resolve some quirks. I consider it basic to intermediate. It does not belong to rocket science.


[0] Message Index

[#] Next page

Go to full version