• 0

Python Vs Delphi.


Question

Well i've always wanted to learn one of the two.... i've done some research and they both seem an equal challenge, both having ups and downs.

So i'm wondering a few things....

- which should i learn... learning a new language isn't just a pick and choose, it's a major thing to undertake and choose to spend time on.

- which is faster to write and which produces the most powerful applications?

- what compilers / IDE's / Text editors do you reccomend?

- any recommended tutorials to get me started?

Thanks a million.

Link to comment
https://www.neowin.net/forum/topic/628912-python-vs-delphi/
Share on other sites

17 answers to this question

Recommended Posts

  • 0

Lots of debates about whether Java is a good idea to be teaching it for anything other than fundamentals considering the advantages of functional languages like Lisp.

They say its tough to look at a problem without a bias towards a functional solution or a procedural solution.

Java is taught at my university. Along with Python, C++, Lisp, and Scheme...

No Delphi though... not that i've heard of.

  • 0

I doubt any form of Object Pascal, including Delphi, is taught, so I would recommend Python. Incidentally, Python is my favorite language. Great for number crunching when you need to play with large integers. Also, Google appears to be using Python for their support pages ('answer.py' is one such filename that I noticed the other day). ^_^

Another one you might consider is Ruby. Both of those seem to be emerging as major players. Ruby is difficult for me to use, however. All of the blocks and procs and such confuse me. I understood them after going through a couple of tutorials and doing some practice exercises...two months ago. :p I did with Python, and I retained a lot of it. In fact, I recently started getting back into it. It isn't difficult in the least! Then again, each person has her/his own preference, and each person retains different amounts of different concepts in different ways. I'm biased toward Python because it is easier for me, but Ruby has a lot of power. For those reasons, I can't recommend one more than another, but I can recommend that you consider looking at each, if you wanted to see something other than Python.

  • 0

If you're interested in building native (win32) desktop applications then Delphi is great. You can download Turbo Delphi for free at http://www.turboexplorer.com/ (be sure to download it for Win32, not the .NET version).

I learnt to use it using the built in help documentation many years ago (Delphi 2, it's up to version 11 (2007) now). I can't suggest any books or anything but there is loads of information and tutorials on the Internet about every single aspect of it.

As for Python, I don't know much about it. Isn't it more of a scripting language, more at home on the Web, or being embedded in an application (like a Delphi application) to allow it scripting capabilities? I'd say it compares more to something like PHP, while Delphi compares more to C++/C#.

edit: just did some looking around and I Python is more multi-purpose than I thought, but doesn't compare with the RAD (rapid application development) aspects of Delphi.

Edited by virtorio
  • 0
  Internet said:
I don't want to learn java... it's slow while being run + the vm has limits

can anyone just answer my question =(

Fine go Delphi 2008 (fastest to write and most powerful when compared to php)

you can do Delphi Win32 or Delphi .net using Delphi 2008.

you can buy the IDE from CodeGear.com or you could use Turboexplorer which is free, but lacks the features that Delphi has.

if you google delphi tutorials, you will find a heap of them. Delphi was very popular 4 years ago and there are still lots of sites around.

if you want my opinion, I think Delphi is dying (hope it isnt... but just get that feeling) :(

MS is just too hard to standup to and is squezzing codegear out so all you will have left is VisualStudio.

If you want to get a head start, as someone said, see what your uni teaches. :)

  • 0

Personally, I would go with Delphi if you were making GUI applications -- it has a brilliant Win32 form designer. Delphi has two versions, both in the same IDE -- there is a .net version and native version. If I was working with it, I would always go with the native version for pure speed. However, the .net version might be more flexible. Python is good for scripting basic applications, but not so good for graphical user interfaces.

  • 0

Sorry to resurrect a almost dead topic , as my first post. But because I have been working with Delphi for many years and I am working now with python I thought I could help the original poster and any future poster with similar question. Ok let us start

1) DELPHI is an amazing Enviroment. Yeap that is so great about delphi that is an environment, that is both an excellent IDE and a very good, easy and powerful language. There is no IDE out there like DELPHI. That is a fact. DELPHI AND DELPHI .NET WIN.

2) DELPHI is much faster than Python , cause it is made on assembly. Python is made on C++ and uses a VM and it is interpeted which slows it down quite a bit. That slow down shows ONLY when you do some CPU intense work , like 3d graphics, audio processing etc. For the rest python will be fast enough for you. DELPHI AND DELPHI .NET WIN.

3) DELPHI .NET is vere powerful because it uses the .NET libraries that are common for all .NET programming languages like C# , VB.NET etc. But Python is the most powerful because it can use directly with no extra coding JAVA libraries (jython) .NET libraries (ironpython) and C++ and C libraries with some extra coding (there are however tools like SWIG that can do this automatically. PYTHON WINS.

4) Python is alot more compact , but very close to DELPHI , both language are very easy to use. However python requires less code to be written even when taking into account the amazing DELPHI IDE. PYTHON WINS.

6) DELPHI .NET is much more difficult to use than DELPHI or python cause is tied to .NET framework. While the python libraries follow the a pythonic approach , which requires them to be easy to use, powerful and compact . PYTHON WINS.

7) PYTHON is a constantly evolving language , alot more than Delphi and DELPHI .NET. That is one of appeal of open source. PYTHON WINS.

8) PYTHON is the most cross platform. DELPHI had Kylix for Linux which is abandoned while the MONO does not support DELPHI .NET. That means there is currently no way to run DELPHI on LINUX or MACOS. On the other hand Python not only runs but also is highly popular in MACOS and LINUX. PYTHON WINS.

In the end Python won me over, because of being cross platform and better language that required less coding. Delphi has an excellent IDE but IDE can get you so far.

Regarding IDE , well you wont find an equally good IDE in Python especially for designing GUI. But there loads of IDES and loads of GUI platforms while Delphi has only two VLC and .NET FORMS both are not cross platform. While python has loads and almost all cross platform.

The biggest deal is CROSS PLATFORM , if you only care for WINDOWS then both are equally good.

Do not worry about speed of execution with python there many ways to improve this and in practice is rarely a problem. Worth mentioning that Python integrates flawlessly with C++ and C , and even .NET (ironpython) and JAVA (jython). So that means that Python can done anything those languages can do and even use their libraries with little to no effort. Another huge advantage.

Edited by kilon
  • 0

It's nice to see I'm not the only Delphi developer around here (Y). In house development for my company is still (for the most part) done in Delphi 6. It's either that or .Net.

I don't know if Delphi has a future compared to Python, it's not a "cool" language nowadays, but I certainly don't regret working with it for the past 5 years.

  • 0
  Internet said:
I don't want to learn java... it's slow while being run + the vm has limits

can anyone just answer my question =(

Not the way you want it. If you're looking for a job, you'll want to learn more than one language, and definitely one that there's a demand for. Python is usually used for scripting, I haven't seen a lot of chatter about Delphi (Pascal) for a long time. I've never used Pascal except in high school classes. Java and C# are being used in a lot of enterprise work, so they're a good bet. :)

EDIT: Whoops, we made a zombie. OP has been inactive for quite a while... :o

  • 0
  Ricardo Gil said:
It's nice to see I'm not the only Delphi developer around here (Y). In house development for my company is still (for the most part) done in Delphi 6. It's either that or .Net.

I don't know if Delphi has a future compared to Python, it's not a "cool" language nowadays, but I certainly don't regret working with it for the past 5 years.

Nope you are definitely not. I was surprised that Python is so scarcely mentioned here, I was in UBUNTU forums and there it was all python ,python , python lol.

By the way I have to clarify that the DELPHI dying will highly depend. It is true that the VLC library is no longer developed at the same rate as it was in the past.

However DELPHI .NET is far from dead, afterall it is all .NET inside and that means that will be around for a very long time as .NET has become extremely popular in WINDOWS.

But EVEN the old DELPHI is not dead in the absolute sense, for example take a look at lazarus, it gives DELPHI a breath of fresh air. I have not mentioned it before since is not TECHNICALLY DELHI as it uses FreePascal but is as close to being a clone as it will ever be.

http://www.lazarus.freepascal.org/

Oh by the way the initial poster wondered where he should start for learning. Well in case o python the central python website has all the help one may need.

Which is pretty much anything, documentation , tutorials, third party libraries , mailing lists , wiki etc. etc.

Ah and another surprise it is possible to integrate Python in DELPHI and LAZARUS. SO many choices so little time ;)

http://membres.lycos.fr/marat/delphi/python.htm

http://mmm-experts.com/Products.aspx?ProductId=3

  • 0
  GreyWolfSC said:
Not the way you want it. If you're looking for a job, you'll want to learn more than one language, and definitely one that there's a demand for. Python is usually used for scripting, I haven't seen a lot of chatter about Delphi (Pascal) for a long time. I've never used Pascal except in high school classes. Java and C# are being used in a lot of enterprise work, so they're a good bet. :)

EDIT: Whoops, we made a zombie. OP has been inactive for quite a while... :o

You can find about language popularity here ( if this matter to you)

http://www.tiobe.com/index.php/content/pap...tpci/index.html

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft Store is getting improved recommendations, deeper Windows integration, and more by Taras Buria Microsoft announced several new features coming to the Microsoft Store on Windows 11. The company revealed that 250 million customers use the Microsoft Store each month. With the latest updates, Microsoft is improving the experience with better recommendations, search improvements, deeper Windows integration, Copilot, and more. The store's Home Page is getting personalized recommendations with suggestions based on your recent activities, what is trending in your region, and the recent deals. Microsoft says this change will bring more meaningful and relevant content. Search is getting smarter, and it now uses additional information when ranking apps. It is "intent-aware," and considers additional aspects like app updates, ratings, language-specific nuances, and more. In the United States, the Microsoft Store now has a Copilot button at the bottom of the screen. Clicking it lets you ask questions about an app or game, or compare two products. Speaking of Copilot, apps with AI-powered experiences now have a badge indicating that certain apps work better on Copilot+ PCs. Other changes to the Microsoft Store include a new Discover More section with related apps and deeper Windows integration. The latter lets you find apps in the Microsoft Store using Windows Search, and the "Open With" dialog now includes additional recommendations from the Microsoft Store. Finally, Microsoft made multiple under-the-hood improvements to boost performance (the app launches twice as fast as it did six months ago) and improve installation reliability. In addition to new features coming to the Microsoft Store, the company reminded users that some popular productivity apps are now available in the Store. They include Notion, Perplexity, Docker, and Day One. You can read more about all those changes in a post on the official Windows Blogs website. Last month, at Build 2025, Microsoft announced more improvements for the Microsoft Store, so stay tuned for those.
    • OpenAI exposes secret propaganda campaigns tied to multiple countries by David Uzondu Back in February, OpenAI shut down accounts that were busy developing Chinese surveillance tools aimed at the West. These tools were designed to snoop on social media, look for anti-China sentiment and protests, and report back to Chinese authorities. Now, OpenAI has announced it has disrupted even more shady operations, and not just those tied to China. In a report released Thursday, the company detailed how it recently dismantled ten different operations that were misusing its artificial intelligence tools. One of the China-linked groups, which OpenAI called "Sneer Review," used ChatGPT to churn out short comments for sites like TikTok, X, and Facebook. The topics varied, from U.S. politics to criticism of a Taiwanese game, where players work against the Chinese Communist Party. This operation even generated posts and then replied to its own posts to fake real discussions. What is particularly interesting is that the group also used ChatGPT to write internal performance reviews, describing how well they were running their influence campaign. Another operation with ties to China involved individuals posing as journalists and geopolitical analysts. They used ChatGPT to write social media posts and biographies for their fake accounts on X, translate messages from Chinese to English, and analyze data. OpenAI mentioned that this group even analyzed correspondence addressed to a U.S. Senator. On top of that, these actors used OpenAI's models to create marketing materials, basically advertising their services for running fake social media campaigns and recruiting intelligence sources. OpenAI also disrupted operations, probably originating in Russia and Iran. There was also a spam operation from a marketing company in the Philippines, a recruitment scam linked to Cambodia, and a deceptive job campaign that looked like something North Korea might orchestrate. Ben Nimmo, from OpenAI's intelligence team, noted the wide range of tactics and platforms these groups are using. However, he also said these operations were mostly caught early and did not manage to fool large numbers of real people. According to Nimmo, "We didn't generally see these operations getting more engagement because of their use of AI. For these operations, better tools don't necessarily mean better outcomes."
    • Long ago, I was in a networking class on a lab computer. The guy next to sarcastically told me to SHIFT+DELETE the C:\Windows folder. I said that I was sure Windows wouldn't allow such a thing (Windows 2000), and would either totally block the action or give some kind of dire warning. I was so confident that I tried it...not only was I wrong, but it didn't even give the standard "are you sure" warning, just went to town. I pressed cancel as quick as I could, but it was too late, shortly after, the system blue-screened and never booted again. I had to stay late and reinstall Windows for the teacher, but that ended up being a good thing, had great repour with him for the rest of the year, even got to help him get Active Directory setup in his lab.
    • My best decision: SHIFT+DELETE WINDOWS Then Installed Fedora Linux. Now I am a Happy Person
  • Recent Achievements

    • One Year In
      survivor303 earned a badge
      One Year In
    • Week One Done
      jbatch earned a badge
      Week One Done
    • First Post
      Yianis earned a badge
      First Post
    • Rookie
      GTRoberts went up a rank
      Rookie
    • First Post
      James courage Tabla earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      419
    2. 2
      snowy owl
      182
    3. 3
      +FloatingFatMan
      182
    4. 4
      ATLien_0
      176
    5. 5
      Xenon
      137
  • Tell a friend

    Love Neowin? Tell a friend!