Slashdot Log In
Free Pascal 2.2 Has Been Released
Posted by
ScuttleMonkey
on Mon Sep 10, 2007 06:08 PM
from the never-say-die dept.
from the never-say-die dept.
Daniel Mantione writes "Free Pascal 2.2 has been released. Several new platforms are supported, like the Mac OS X on Intel platform, the Game Boy Advance, Windows CE and 64-Windows. Free Pascal is now the first and only free software compiler that targets 64-bit Windows. These advancements were made possible by Free Pascal's internal assembler and linker allowing support for platforms not supported by the GNU binutils. The advancement in internal assembling and linking also allow faster compilation times and smaller executables, increasing the programmer comfort. Other new features are stabs debug support, many new code optimizations, resourcestring smart-linking and more."
Related Stories
Firehose:Free Pascal 2.2 has been released by Anonymous Coward
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

Mixed Reaction.... (Score:5, Funny)
The other half is looking very confused and asking "why?"
Re:Mixed Reaction.... (Score:5, Interesting)
Parent
Re:Mixed Reaction.... (Score:5, Funny)
OMG, powerful alliteration and anthropomorphism. Here I am with a visual image of a young code snippet out in the winter cold, begging people for a couple pence for a "cuppa tea".
Parent
Re:Mixed Reaction.... (Score:5, Informative)
Parent
Re:Mixed Reaction.... (Score:5, Funny)
You probly can't even read good either.
Parent
Re:Mixed Reaction.... (Score:5, Funny)
Parent
Re:Mixed Reaction.... (Score:5, Interesting)
The suits will win in the end, because they're breeding faster. There's not a lot of incentive to become a Pascal expert, because it's perceived as a fringe language. (To some extent, that's a self-fulfilling prophecy, but that doesn't make it any less true.) So there will be fewer and fewer developers who insist on working in Pascal, and always the same number of managers who insist on switching to a "standard" language.
So Pascal is doomed. Yes, they've been saying that for a long time, because it's been true for a long time. Religions don't die quickly.
Personal note: I used to work for Borland and was responsible for documenting a big chunk of the Delphi API. Fell in love with the language during those years. Driven out by the sheer insanity of Borland management. Now I can't bear to work in the language — too depressing.
Parent
Re:Mixed Reaction.... (Score:5, Interesting)
Thing is with Pascal: it's designed to be very easy to compile. (So CS students could use it for their first stab at writing a compiler; this was before grammar generators made hand-built compilers obsolete.) So compiling only takes one pass, and even that pass executes quickly. Very handy when you're working with an IDE....
Ach. Getting depressed again.
Parent
Re:Mixed Reaction.... (Score:4, Interesting)
What we instead got was a buggy product that appeared to have alot of winelib in it (what the heck was that font thing?), and more to the point, it treated the GPL as if it was shareware. If one got the 'open source' version, which wasn't actually open source, we could make 'gpl' programs only, but by GPL, it meant "Well your program is GPL, but we are going to force a splash screen on your program that says its gpl and suggest updating to the full version." That was insulting as hell, and completely wrote it all off as an option for us.
Borlands problem is the attentiveness it paid the low-end and hobbyist market in the turbo days was completely blown out the window by the time it moved to Kylix. Hobbyists, students and small business MUST be paid attention to, or how the hells a kid supposed to learn your platform. Linux still has a large hobbyist contingent motoring it along, and in fact proved that hobbyist gift culture could power industry and commerce too.
What was really hard, was Delphi coders understood open source well. We loved sites like torry.ru that had huge collections of awesome open source librarys we could mash into our stuff to make our work days easier. In return we often packaged up our own little inventions and put them out there for other coders to use. Thats why we where so excited about kylix. What a let down.
Now of course we are being enticed back in with the 'turbo explorers' ('Hey kids! Its free!').
Except one cant install open source libraries by design. Way to piss on the Fanbase Borland!. Its a shame too. I was looking forward to returning to Delphi after all those years. Us hobbyists are still out in the cold.
I just hope people put some support into finally getting Lazarus and Free Pascal 'finished'. Its 95% there, and when that happens, we can finally tell the boss to cancel that Borland subscription, because coders *hate* being taken for granted.
Parent
Re: (Score:3, Insightful)
This was a marketing ploy that always bothered me. I was the only one at Borland who actually had serious VB experience, and the notion that skills in that environment were transferable to Object Pascal was absurd.
Your experience was different from mine. I'm very curious what was different about your system, but I d
Re:Mixed Reaction.... (Score:5, Funny)
I'm also feeling rather blaise about it...
Parent
Re: (Score:2)
Pascal is so '80s (Score:2, Informative)
Re: (Score:3, Insightful)
Basically, please remember that there are lands beyond your horizon. Just because you can't see them doesn't mean that they don't exist nor does it mean th
Pascal is alive and well in installers (Score:4, Informative)
Parent
Classic Pascal != Borland Pascal (Score:3, Interesting)
It's worth pointing out that most, if not all, of the objections in Kernighan's famous essay do not apply to Borland's Pascal dialect.
Re: (Score:2)
Ugh.
Re: (Score:2)
Yeah, original Pascal is 80s. Modern Pascal (read: Object Pascal) is not, although it is 90s - it has good support for OO, but Delphi only recently added support for generics/templates.
Pascal and Modula 2 in the '80s (Score:2)
I too learned Pascal in the early 80's when it was that or Fortran IV. Both seemed to me to require a lot of typing to accomplish anything. I picked up Modula2 for my Amiga as I already knew Pascal and it was quite similar, the Modula2 compiler was relatively inexpensive and the executables were tight and fast. Eventually I picked up Lattice C for the Amiga (an earlier version in a bargain bin, which I paid a bit more and upgraded to the latest release :o) and never looked back.
Re: (Score:3, Informative)
I still like Pascal (Score:4, Funny)
I still need a blue screen to write code quickly.
Re:I still like Pascal (Score:5, Interesting)
I still need a blue screen to write code quickly.
FreePascal is probably the best representation of what Pascal used to be. Unfortunately after years and years of incompetent management, Delphi remains just an empty shell of its former self. The project was tossed around too many times now, shrunk down, and there are no guarantees for how long it'll exist or be sold to unknown 3rd party.
Many companies with active Delphi code projects are porting to FreePascal (other reasons aside from the sad state of Delphi include compatibility with Mac and other platforms).
Parent
Explanation of VistA (Score:3, Informative)
For those who can't tell VistA from Windows Vista, VistA [wikipedia.org] (notice final capital letter) is the electronic health record system used by veterans' hospitals under the United States Department of Veterans Affairs [wikipedia.org]. VistA CPRS [va.gov] is its GUI front end.
Re:I still like Pascal (Score:5, Funny)
Parent
Good Stuff (Score:2, Insightful)
Re: (Score:2)
FPC has been my sidekick ever since Delphi did it's magic trick of fading into obscurity and uselessness.
If you're looking for a Delphi replacement, you might want to consider Chrome [remobjects.com], which is Object Pascal with a variety of nice extra features, including lambda expressions, generics, nullable types, and design by contract. The downsides are that it is a .NET langauge (though it works with Mono [remobjects.com] apparently), and that only the command line tools are free -- the whole suite is pricey (though comparable in cost to Delphi I guess). It is, at the least, worth looking into if you're a Pascal fan.
Always nice with cross platform native compilers (Score:2)
Re: (Score:2)
For some definition of the word 'free' (Score:5, Informative)
C# programs even work in Linux, without a recompile, using Mono
Re:For some definition of the word 'free' (Score:4, Insightful)
It's this childish "Waah, its MS and not FOSS" attitude that make all of
Ugh...
Parent
Ah (Score:2)
Slashdotted (Score:2)
Cue the "the server must be written in Pascal" jokes...
Here's a MirrorDot [mirrordot.org] link for the FreePascal site.
Mirror (Score:2)
and
http://www.networkmirror.com/06poF0hRSRppE66S/www.osnews.com/story.php/18592/index.html [networkmirror.com]
I freed myself of Pascal... (Score:2, Funny)
80's college nostalgia (Score:5, Insightful)
Re:80's college nostalgia (Score:5, Informative)
Pascal is arguably one of the easiest languages to learn there ever was. It's very verboseness leads to readable code, but don't confuse that with weakness. Modern Pascal implementations like Delphi and Free Pascal are powerful languages.
The basics of pascal are simple:
Note the difference in the way the function and the procedure are declared above. Pascal passes parameters either by reference or by value. Using the var directive in the procedure declaration of x as integer I told the compiler to pass the value in by reference and therefor that value can be changed by the procedure. Note that when declaring the parameter this way I can ONLY pass a variable to it of the same type, or typecast a variable of a similar type. If I do NOT use the var invocation in declaring the parameter I can pass either a variable or a literal as below:
This should give you a basic start, the rest is really easy. Pascal does pointers, Structures, file I/O with either typed or untyped files, Inline Coding, Inline Assembler, pretty much everything you would expect from a robust language.
Parent
Wow... (Score:2)
Not the first free compiler to support win64 (Score:3, Informative)
64-bit Windows (Score:5, Insightful)
Sure, but then you have to write it in Pascal!
What's pascal like now? (Score:3, Interesting)
- The standardized language was very small, so there was a tendency for it to fracture into many incompatible languages.
- At that time, the implementations represented a string as a length byte followed by the string data, so you were limited to strings of length 255.
- I don't think there was any (standard) way to defeat the strong typing in cases where you needed to.
- Was there garbage collection? If so, I don't recall it as being an idiomatic part of the language, except maybe for strings...? Well, most languages back then didn't have it (and gc's sucked back then, so gc languages tended to be slow), but today...
- I was always annoyed by the gotchas in the syntax -- the language seemed unnecessarily picky about periods and semicolons.
Has any of this changed? Has modern pascal settled on a single standardized version of the language? Is gc easy, idiomatic, and consistently supported in libraries and language constructs? Is there good unicode support? It seems to me that today, if I wanted a typesafe language I'd use java, and if I wanted a language that compiled to native code I'd use C or OCaml.Re: (Score:3, Informative)
Small is relative. Pascal language is now Object Pascal. It is not a small language.
> 2. At that time, the implementations represented a string as a length byte followed by the string data, so you were limited to strings of length 255.
Delphi and FreePascal have PChar as well as AnsiString.
> 3. I don't think there was any (standard) way to defeat the strong typing in cases
Dennis Ritchie on Pascal (Score:3, Informative)
I sincerely hope the language has been fixed since that was written...
A Valuable Resource (Score:5, Informative)
If you want power, readability, a maintainable code base, easier string-handling, no-brainer memory management, and an elegant "No-BS" language, try Pascal. It has survived this long for a reason.
Hmph. (Score:2, Funny)
Re: (Score:2)
Re: (Score:2)
Object Pascal supports multitasking and objects for quite some time, so I guess the question should be the other way around.
And I suppose in this case the answer would be "Ada compilers are not widely available (and free) for as many platforms". Not to mention the huge libraries of Pascal code out there.
Re: (Score:2)
Re:What advantages does this have over Ada? (Score:4, Funny)
It's not Ada. Isn't that enough?
Parent
Re:um? size? (Score:4, Informative)
Yes, simply looking at obj size will make this look bad. Actually looking at the object itself makes it pretty clear what's really happening. Remember, 'file' is your friend.
Parent
Re:um? size? (Score:5, Informative)
That's bad pascal. You lack the program declaration with specification of IO, and you also have a null statement at the end (the semicolon that should not be there). Try:
You might want a stronger typed language than C, where there's no risk of signed/unsigned typecasting behind your back, or where you can limit the data type. There's no risk of your plane thinking it's flying upside down when you cross the dateline, for example. Or of spinning clockwise 182 times to make a 65535 degree turn, when you really wanted a 1 degree left turn.
Then there's legibility. Pascal
I personally miss UCSD-pascal and p-code. It did what java was meant to do -- run as a pseudo-machine with pre-compiled bytecode in a machine independent fashion. Too many youngsters today think that Sun created that concept with java, when in reality it was a ripoff of USCD-pascal's p-code for a C++-like language.
Regards,
--
*Art
Parent