Free Pascal Compiler 3.0.0 Is Out; Adds Support For 16-Bit MS-DOS, 64-Bit iOS (freepascal.org)
Halo1 writes: Twenty-three years ago, development started on the first version of the Turbo Pascal and later also Delphi-compatible Free Pascal Compiler, for OS/2 no less. Two decades and change later, the new Free Pascal Compiler 3.0.0 release still supports OS/2, along with a host of older and newer platforms ranging from MS-DOS on an 8086 to the latest Linux and iOS running on AArch64. On the language front, the new features include support for type helpers, codepage-aware strings and a utility to automatically generate JNI bridges for Pascal code. In the mean time, development on the next versions continues, with support for generic functions, an optional LLVM code generator backend and full support for ISO and Extended Pascal progressing well.
I thought I added the link to my original summary, but it seems to have gotten lost when I submitted it. In any case, Sourceforge's Project of the Month April 2014 interview with the founder of the Free Pascal Compiler, Florian Klaempfl, contains a good overview of the project's history, goals and development methodology.
Donate free food here
I remember having to save my allowance to buy Borland Turbo Pascal for around $60. It came in a yellow box. A couple of other things I remember:
1) I am getting old
2) Those days sucked
Thanks to GNU and gcc we will never have to put up with that crap again.
I wrote a DOS game in 1996 in Turbo Pascal which used $B800:0000 textmode space to display the action. Thanks to Free Pascal I successfully ported it to Windows... of course minus the literal memory addressing and such.
Free Pascal is amazing at how it "just works" with legacy Turbo Pascal syntax where Delphi would present more trouble. Lazarus, the Free Pascal IDE, is also very resemblant of Turbo Pascal IDE, with some modern touches.
Pascal is an underrated language. It may have been designed for education, but it has many advanced features, the executables are nearly as fast as C++ ones, it compiles fast, and the runtime diagnostics are detailed and specific. It "just works".
I've used Turbo Pascal and Delphi for years, later followed by FPC and Lazarus. It was an enjoyable time. While I was no stranger to C++ even in those times, I simply preferred Object Pascal (so sue me). We even used it on Windows Mobile up to 6.x.
Unfortunately, when the time came (years ago now) to focus on Android, FPC's RTL had fairly serious issues, that I personally did not have to expertise to fix, and it wasn't a priority for anybody else who did.
While I have no plans to return to FPC, I'm still a fan, and I love to see it progress.
I could show this article to my wife and truthfully say "we would not have met and had offspring if it weren't for this computer programming language you've never heard of". My first real job that eventually led to a career and a move to this city was because I had done work in school on a parser for Pascal, ended up programming on an HP1000 mini (RTE-XL), meeting her, getting married etc etc. Then I think, 'heh, never mind'. Very nostalic; glad to see it's out there. Thanks, Pascal.
Why the fuck would anyone bother supporting 16-bit MSDOS? Really?
Simply because someone cares. Someone else is also reviving Amiga 68k support, because he cares. Our compiler is generally modular and generic enough so that such support does not result in too much interference with other functionality, or luggage that makes things unmaintainable over time.
Where's the CP/M support for Z80 then?
It'll get added as soon as you provide good quality patches for it :)
Donate free food here
Why the fuck would anyone bother supporting 16-bit MSDOS? Really?
Where's the CP/M support for Z80 then?
Does anyone use Pascal any more?
http://www.z80.eu/pas-compiler...
There are some pascal compilers for cp/m. Enjoy.
Be seeing you...
Because there's a buttload of legacy embedded apps running it? I know of at least 20 I've had my hands near, including one running on the International Space Station.
"Eve of Destruction", it's not just for old hippies anymore...
Will it work on a Tandy 1500 laptop?
Believe it or not, there is some embedded hardware out there that still uses DOS variants. The messaging module of our phone system uses an embedded version of DOS.
The world's burning. Moped Jesus spotted on I50. Details at 11.
NO language needs a garbage collector, though an option to use one selectively would be nice.
Let's split the difference and say a language needs a garbage collector in its standard library that a programmer can choose to enable. C++ calls its reference-counting garbage collector std::shared_ptr.
But then I saw the systemd requirement, and decided to pass.
Speaking of ye olde compilers, OpenWatcom seems to have ground to a halt in 2010. Can't tell if I think that's a shame, or if its time has come, or both.
I remember despising C for its absurd syntax ("==", "!=" etc.).
I still do.
And I was the opposite, I despised the vebosity of pascal (begin/end/etc.) and it's tendency to try to hide some low level details on the grounds of making it easier to learn.
To each his own preferences.
That's a definitive proof that the Perl vs Python debate didn't actually need theese language and the whole concept dates back much further in computing history.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
I remember in the 1980s it seemed like kind of a big deal, an "advanced" programming language that required a compiler and a more real computer than an Apple ][ (although, yes, there was a Pascal system for the ][, IIRC it was worthless without two disk drives and really not an ideal platform). I knew people writing commercial software in Pascal. They taught it when I was in college. I think "Inside Macintosh" Vols. 1-3 that documented the Macintosh used Pascal.
It was kind of everywhere, and then it wasn't. What happened to it? Was it not really meant to be a "practical" language and meant to be kind of an advanced educational language? Did the growth of Unix-like systems on x86 push everyone into C? Did stuff like the availability of maybe Visual Basic or something grab the users who would have used Pascal?
Circa 1986 or so, you wouldn't have thought "kind of a dead language, nobody uses it for anything anymore" and you wouldn't have thought it would get that way any time soon.
Most business' neither need nor use a real time O/S. All applications that allocate random blocks of memory must find a way to deal with garbage collection, built-in GC makes it easy for the coder. Manual GC just means the coder must manage memory himself, which is mandatory on a proper real time O/S.
And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
Does the new Pascal let you increment a pointer through an array yet (char *x; x++)?
Every slash dot reader *knows* that that is an essential feature of any programming language in order for it to be efficient.
Let me just paste a code comment i wrote two months ago;
* Written for use in Delphi 2010.
* Seems to work (with minor tweaks) in Lazarus v1.4.4 with FPC 2.6.4, Windows.
* Could work with fewer tweaks with FPC3.
Now i'm wondering if i can get this pet project to compile and run on Linux ..just for sports.
Hivemind harvest in progress..
Yes, there are still devices that run on pc/104 and other embedded x86 platforms. The older ones still running ROMable versions of DOS.
Z80 support would be nice for me, I'm still using SDCC so I'm still stuck in C land. Of course I'd also like 68hc11 support too, but I'm not going to hold my breath.
Sure, some people still use Pascal. Some people still use Java even though it's obvious that Oracle is eventually going to screw it up.
“Common sense is not so common.” — Voltaire
Some of the Canon pro-sumer cameras are running DOS as well.
First two programming jobs I had we're Pascal. I'm sure it's used far less now, but /something/ is keeping Delphi alive and supporting those astronomical price tags.
Why the fuck would anyone bother supporting 16-bit MSDOS? Really?
Simply because someone cares. Someone else is also reviving Amiga 68k support, because he cares. Our compiler is generally modular and generic enough so that such support does not result in too much interference with other functionality, or luggage that makes things unmaintainable over time.
+1 (at least for the 16-bit MSDOS part ;-) )
Where's the CP/M support for Z80 then?
It'll get added as soon as you provide good quality patches for it :)
(Un)fortunately, I think we will have to wait a long time for that to happen... ;-)
In general, it is sad to see how arrogant and ignorant the (programming) world has become...
but with the costs of Delphi and that its been around so long and still going means someone is using it.. but who ???
From Embarcadero: - http://www.embarcadero.com/pro... From Lazarus/FPC wiki: - http://wiki.lazarus.freepascal... - http://wiki.lazarus.freepascal... - http://wiki.lazarus.freepascal...