Object Pascal vs Delphi?

20,097

Solution 1

Object Pascal was an object oriented extension of Pascal developed by Apple. The first version of Delphi was evolved from Turbo Pascal. The object oriented features in Turbo Pascal were, rightly, considered not fit for purpose. So Borland developed Delphi 1 and incorporated much of the Apple Object Pascal language. So the language for the Delphi product was originally named Object Pascal.

Apple stopped developing Object Pascal and it was never standardised as had been originally intended. For the release of Delphi 6, Borland chose to rename their language as Delphi.

You ask the question:

What's the difference between Object Pascal and Delphi?

But that's not really too meaningful since the original Object Pascal doesn't really exist in a distinct form any more. Apple abandoned it. The only extant implementations of Object Pascal like languages that are in widespread use are Delphi and the languages that it inspired: FreePascal, Oxygene, DWS, etc.

So a better question would be "What is the difference between Delphi and FreePascal?" Nowadays, Object Pascal is used loosely to refer to this family of related languages.

Solution 2

Object Pascal is an extension to Pascal. There are a number of dialects of Object Pascal, Delphi being one of them. Here is a fairly complete writeup on the History of Pascal. It doesn't include Free Pascal or DWS. Free Pascal is focused on being a open source and cross platform clone of Delphi (I'm sure I've offended a few people with that.)

Each dialect of Object Pascal adds things and implements things a little differently.

So Pascal is a family of languages, with Object Pascal as sub-family, and Delphi a sub-family of Object Pascal.

Evolution and Influence of Pascal

Solution 3

As already said Object Pascal originates from a Apple standards proposal that never was ratified, and is still used for dialects that borrow from it. Most of all the dialect used by Delphi.

The object oriented Turbo Pascal versions were also referred to as Object Pascal as far as I know, though sometimes as "Pascal with Objects". I don't know if there is a relation from the Turbo Pascal objects implementation to the Apple proposal. The main aspect borrowed from Apple seems to be that Object instances are always implicit references.

Borland calls the language Delphi language and thus the exact equivalent of Object Pascal is Delphi language not Delphi.

Since Delphi is a registered trademark in many countries, most compatibles kept referring to the language as Object Pascal, even after Borland renamed it. The renaming was said to be done mostly because "Pascal" equated too much to "old" in the market, according to Borland. Some said it was because "Object Pascal" couldn't be trademarked, and so the renaming was an anti competitive measure. (I'm not paranoid, I don't think this was geared against FreePascal, which wasn't any threat back then, if true, it was probably against embedded startups like Pocketstudio and Gardens Point)

Solution 4

Borland used the name Object Pascal for the programming language in the first versions of Delphi, but later renamed it to the Delphi programming language. However, compilers that claim to be compatible with Object Pascal are often trying to be compatible with Delphi source code. Because Delphi is trademarked, compatible compilers continued using the name Object Pascal.

Solution 5

As far as I know, Object Pascal is the name of the language behind Delphi. Delphi itself being the IDE (Integrated Development Environment). In that sense, you can say that Object Pascal is for Delphi (and Lazarus) what objective C is for xCode. Furthermore, Delphi is also known as a RAD (Rapid Application Development) IDE. I hope this helps.

Share:
20,097
Tracing
Author by

Tracing

Updated on October 28, 2020

Comments

  • Tracing
    Tracing over 3 years

    Whats the difference between Object Pascal and Delphi? Are they the same thing? What are the differences and similarities between them and which one is more useful?