Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Delphi
  4. FreePascal and Delphi

FreePascal and Delphi

Scheduled Pinned Locked Moved Delphi
delphic++phpvisual-studiosysadmin
13 Posts 8 Posters 28 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DonaldDuvall
    wrote on last edited by
    #1

    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?

    J U D D L 5 Replies Last reply
    0
    • D DonaldDuvall

      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?

      J Offline
      J Offline
      JustCSDR
      wrote on last edited by
      #2

      http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F[^]

      U 2 Replies Last reply
      0
      • D DonaldDuvall

        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?

        U Offline
        U Offline
        User 3171482
        wrote on last edited by
        #3

        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.

        D 1 Reply Last reply
        0
        • D DonaldDuvall

          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?

          D Offline
          D Offline
          dhaxton
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • U User 3171482

            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.

            D Offline
            D Offline
            Daniel Lo Nigro
            wrote on last edited by
            #5

            Delphi apps are pretty large too, though!

            1 Reply Last reply
            0
            • D DonaldDuvall

              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?

              D Offline
              D Offline
              Daniel Lo Nigro
              wrote on last edited by
              #6

              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.

              D 1 Reply Last reply
              0
              • D Daniel Lo Nigro

                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.

                D Offline
                D Offline
                DonaldDuvall
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • D DonaldDuvall

                  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?

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  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:

                  D 1 Reply Last reply
                  0
                  • L Lost User

                    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:

                    D Offline
                    D Offline
                    DonaldDuvall
                    wrote on last edited by
                    #9

                    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?

                    L 1 Reply Last reply
                    0
                    • D DonaldDuvall

                      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?

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      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:

                      1 Reply Last reply
                      0
                      • J JustCSDR

                        http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F[^]

                        U Offline
                        U Offline
                        User 7625944
                        wrote on last edited by
                        #11

                        :laugh:

                        1 Reply Last reply
                        0
                        • J JustCSDR

                          http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F[^]

                          U Offline
                          U Offline
                          User 7625944
                          wrote on last edited by
                          #12

                          :laugh: :laugh:

                          M 1 Reply Last reply
                          0
                          • U User 7625944

                            :laugh: :laugh:

                            M Offline
                            M Offline
                            Mladen Bruck
                            wrote on last edited by
                            #13

                            :laugh: :laugh: :laugh:

                            Mladen Bruck

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups