3 ms·
The leading implementation was by Borland, which addressed most of the limitations of the language, and provided a solid compiler and IDE in Turbo Pascal, then
by mikewarot 5y ago
The leading implementation was by Borland, which addressed most of the limitations of the language, and provided a solid compiler and IDE in Turbo Pascal, then Delphi.
Borland started raising the prices of their compilers to the point that the hobbyist could no longer justify it, and market share fell accordingly.
Since Turbo Pascal/Delphi was the only Pascal with a complete library, the fortunes of the language went with it.
There is a fairly reasonable open source Pascal these days, the Free Pascal project, on top of which is built a GUI IDE, Lazarus. They try to maintain feature parity with Delphi, which is now far, far too expensive, they do a fairly good job with it.
It is possible to crank out a Windows GUI program in Lazarus pretty darned quickly. It's my preferred programming environment to this day.
- Gys 5y agoBorland also dabbled for a while with a Mac version and later with a Linux version. Both were never succesful but I expect they put a lot of resources in there. Edit: it is funny that Lazarus is cross platform, while Delphi still only runs on Windows (although it can compile to other platforms).
- AnimalMuppet 5y agoBefore that, there was a time when "most of the limitations of the language" had not been addressed. I had the misfortune to have to program in the language in that time, and it was painful. Part of the reason C took over the world and Pascal did not is that, in this time, C was much less annoying to use than Pascal. Borland fixed that, and brought Pascal to parity with C. (Maybe even ahead of C, because Pascal had better type checking.) But then (or soon after), there were a variety of C compilers. Once Borland raised their prices, some of them were less expensive than Turbo Pascal. (Once gnu came out, some of them were free.) Why was the original Pascal annoying to use? See Brian Kernighan's "Why Pascal Is Not My Favorite Programming Language". (Despite its reputation, it's not a hit piece. And, as someone who had to use the original, unextended Pascal, I can tell you that every word of it is true.) Pascal was written by a university guy trying to create a teaching language. And he succeeded - it was a very good teaching language. C was written by a couple of lab guys trying to write real programs, not classroom exercises. Their language was better at that than Pascal was.
- ncmncm 5y agoIn my freshman year, we had to use Pascal. Running on a 60-bit CDC 6600. With punchcards. My only memory of the actual language experience (i.e. besides the card punch) was being marked down on an assignment for using an implicit conversion that the compiler coded personally by Niklaus Wirth permitted. I had coded it with the explicit conversion, first, and then took it out because the compiler said I didn't need it. Pascal was better than C in exactly one respect: it used a post-fix pointer dereference operator. C could have defined a unary postfix ->. C++ could still do that, entirely backward-compatibly, and have it call unary operator*().
- kubanczyk 5y ago> Kernighan's "Why Pascal Is Not My Favorite Programming Language" https://www.lysator.liu.se/c/bwk-on-pascal.html https://www.lysator.liu.se/c/bwk-on-pascal.html There is a TL;DR at the end.
- Tozen 5y agoKernighan's paper (from 1981) is extremely outdated and was prior to: Turbo Pascal (1983), ISO 1983 Pascal, Apple's Clascal (Object Pascal forerunner of 1983), Apple's Object Pascal (1986), ISO 1990 Pascal, Delphi (1995), or Free Pascal/Lazarus (1997) showing up. It is bizarre or demonstrates a lack of knowledge to take a document from 40 years ago, and then pretend nothing changed. People wouldn't do that with C or C++, so why do it to Pascal/Object Pascal? Take a look at the below link, Which addresses most points outlined in the paper, in terms of modern dialects of Pascal. https://wiki.freepascal.org/Why_Pascal_is_Not_My_Favorite_Programming_Language https://wiki.freepascal.org/Why_Pascal_is_Not_My_Favorite_Pr... Something else to be said about Kernighan and that "hit piece" paper, was that AT&T Bell Laboratories was behind it. People should realize that AT&T was pushing C and then C++, so were very much trying to take down Pascal. This is a document that was "weaponized" to be used against competition, and very oddly, is still being used as such.
- Tozen 5y agoThis assessment of the situation between C and Pascal appears very distorted. Below is a "blow by blow" comparison of C VS Pascal, using a 1989 version of C versus a 1982 version of Pascal (thus excluding Turbo Pascal and Apple's Pascal). With C being the later version, Pascal still compared favorably. https://en.wikipedia.org/wiki/Comparison_of_Pascal_and_C https://en.wikipedia.org/wiki/Comparison_of_Pascal_and_C Furthermore, Pascal evolved into Object Pascal (created by Apple in 1986, from a forerunner named Clascal in 1983). Borland very soon afterwards (also 1986) added similar Object Pascal extensions to their Turbo Pascal. Arguably Apple's Object Pascal and Borland's Turbo Pascal from the late 80s were the more feature rich and versatile language from that point, where only C++ could kind of compare (and it would have to play catch up). C# (born 2000) and Java (born 1995) didn't exist yet. If they compared the Object Pascal of 1989 to the C of 1989, a good case would be made for Pascal domination. Here is a highly restrictive comparison of Object Pascal versus C (using C99). Object Pascal is very much comparable to both C and C++ combined. https://en.wikipedia.org/wiki/Comparison_of_Object_Pascal_and_C https://en.wikipedia.org/wiki/Comparison_of_Object_Pascal_an... In regards to Brian Kernighan, it was a "hit piece". That paper had AT&T behind it (that's a smoking gun), where C and C++ were created. AT&T was actively competing against and trying to push Pascal out of the way. It was also AT&T that pushed the C and C++ language dominance in the market, because they were behind Unix too. At that time, AT&T was one of the biggest companies in the world. As an American company, they had critical relationships and connections with other American tech companies, as well as lots of money. Something a single Swiss computer scientist (Wirth) didn't. Niklaus Wirth, creator of Pascal and consultant on the Object Pascal creation team, has stated many times he embraced Pascal being used commercially too. His goal was both a well structured language for teaching and business.