FreePascal and Delphi
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
Yes, I too have noticed FP/Lazarus compiled apps are significantly larger than Delphi. I tend to use Delphi more than FP/Lazarus because of the wide availability of ready to use Delphi components.
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
We've been moving all out released apps out of C++ and into Lazarus/FPC - no downsides so far, and I get (nearly) instant cross-platform support. There are a few ifdef's in there, to be sure, but I'd guess that our Mac and Windows apps now share probably 99% of their code. I've not noticed any more instability or general weirdness with Lazarus than I have with Visual Studio or the Codegear IDE's. In short, no downsides for us - we think this (Lazarus/FPC) is one of the best kept secrets for cross platform development. Be well, Dave H.
-
Yes, I too have noticed FP/Lazarus compiled apps are significantly larger than Delphi. I tend to use Delphi more than FP/Lazarus because of the wide availability of ready to use Delphi components.
Delphi apps are pretty large too, though!
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
Pascal (using FreePascal) was the first language I learnt at university, a few years ago. It was great fun, seemed to be easily cross-platform.
DonaldDuvall wrote:
The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones.
The compiler seems unstable? I've never experienced issues with it. Lazarus seemed a bit buggy at times back when I tried it, but I never had issues with the compiler. There are some optimisation switches you can use when compiling your app. Perhaps try some of those, they should make the EXE a little bit smaller. Still big compared to C++, but that's mainly because everything is statically compiled - As far as I know, you don't need any runtime library at all to use a FreePascal application, it's all in the EXE.
-
Pascal (using FreePascal) was the first language I learnt at university, a few years ago. It was great fun, seemed to be easily cross-platform.
DonaldDuvall wrote:
The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones.
The compiler seems unstable? I've never experienced issues with it. Lazarus seemed a bit buggy at times back when I tried it, but I never had issues with the compiler. There are some optimisation switches you can use when compiling your app. Perhaps try some of those, they should make the EXE a little bit smaller. Still big compared to C++, but that's mainly because everything is statically compiled - As far as I know, you don't need any runtime library at all to use a FreePascal application, it's all in the EXE.
The FPC depending on the optimization switches on windows 7 sometimes fails on linking. I am not sure why. If I restart the computer and try again it normally works. As for the size I compared it to Delphi not C++. the reason being that I consider C++ its own beast of compilation headaches. Delphi Code is so similar to FPC that I consider them the same language, except on a resume! ;) The main thing that I notice is with Lazarus for the size, when you are using windows forms. It seems to compile most of the code you could ever want into the exe. Even if you are making a simple one button on a form. So a hello world application is Huge, but doesn't get much larger. You can have Dynamic Linked Libraries in FPC, and .SO files on linux systems. Even with this I still choose to use FPC over C++, Delphi etc. I think it is a wonderful project and offers great capabilities.
-
So every time I use Pascal I am pushed more towards using FreePascal - Object Pascal instead of Delphi. It could be that FreePascal Compiler supports almost every OS I can think of or that it supports so really nifty language changes that Delphi does not. Things like += or ++ and --! also operator overloading ;) Well to be fair that one was added to Delphi not to long ago. But with my new extensive use of Linux servers and my utter dislike of compiling C++ programs I have been using FreePascal Compiler with Lazarus (I love this IDE) to develop all of my compiled server applications. I am even starting to work on a CGI Framework that supports PascalScript, kinda like a PHP of Pascal ;) But that is nothing serious just for fun. The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones. Any thoughts?
DonaldDuvall wrote:
Any thoughts?
I've updated Lazarus twice now. The project-options form in the IDE keeps crashing when you try to access the project options. I'm missing all kinds of components and a map-file to aid in debugging. It comes so close to faking Delphi that I was actually disappointed that the IDE isn't as advanced as Borlands' was.
I are Troll :suss:
-
DonaldDuvall wrote:
Any thoughts?
I've updated Lazarus twice now. The project-options form in the IDE keeps crashing when you try to access the project options. I'm missing all kinds of components and a map-file to aid in debugging. It comes so close to faking Delphi that I was actually disappointed that the IDE isn't as advanced as Borlands' was.
I are Troll :suss:
Lazarus is just and IDE on top of the Compiler FPC. The IDE is sometimes buggy, however I haven't had any real problems with it in the last couple months. I normally download the snapshot with the 2.4.3 FPC in it. I use it on Windows 7 and Ubuntu 10.04. What OS are you using and what files are you downloading? Are you using a single install file or are you trying to install the IDE on top of an existing FPC Installation?
-
Lazarus is just and IDE on top of the Compiler FPC. The IDE is sometimes buggy, however I haven't had any real problems with it in the last couple months. I normally download the snapshot with the 2.4.3 FPC in it. I use it on Windows 7 and Ubuntu 10.04. What OS are you using and what files are you downloading? Are you using a single install file or are you trying to install the IDE on top of an existing FPC Installation?
DonaldDuvall wrote:
Lazarus is just and IDE on top of the Compiler FPC.
..and one that emulates the original IDE very well on my old machine :) I've found the FPC version of the map-file, will be something fun to look into this weekend.
DonaldDuvall wrote:
What OS are you using and what files are you downloading? Are you using a single install file or are you trying to install the IDE on top of an existing FPC Installation?
SUSe 11.3, installed using the package-manager. I can't tell from which repository it's coming though.
I are Troll :suss:
-
:laugh:
-
:laugh: :laugh:
-
:laugh: :laugh:
:laugh: :laugh: :laugh:
Mladen Bruck