Difference between revisions of "FPC Advantages"

From Lazarus wiki
Jump to navigationJump to search
m (typo corrected.)
(category)
Line 22: Line 22:
  
 
*'''Compatible''' - Have existing code? Free Pascal is more compatible with it than any other Pascal compiler. We are almost completely compatible with Turbo Pascal and quite well compatible with Delphi source code. If you have code in another language, like C or assembler, just use favorite compiler for it and call it from Free Pascal.
 
*'''Compatible''' - Have existing code? Free Pascal is more compatible with it than any other Pascal compiler. We are almost completely compatible with Turbo Pascal and quite well compatible with Delphi source code. If you have code in another language, like C or assembler, just use favorite compiler for it and call it from Free Pascal.
 +
 +
[[Category:Promotion]]

Revision as of 14:25, 15 April 2012

This page should clarify the strong points of the Free Pascal compiler, and present some of the benefits of using it.

  • Very clean language - Pascal is a very nice language, your programs will be more readable and maintainable than for example in C, and let's even forget about C++. And you don't need to give up the power, the Pascal language is as powerful as you want it.
  • No Makefiles - Unlike most programming languages, Pascal does not need Makefiles. You can save huge amounts of time, the compiler just figures out itself which files need to be recompiled.
  • Very fast compilation - Pascal compilers are Fast with a big F and Free Pascal is no exception. Just hit the compile key and it's done, even for large programs.
  • Each unit has it's own identifiers - In Pascal you never need to worry about polluting the namespace, like in C where an identifier needs to be unique accross the entire program. No, in Pascal each unit gets it's own namespace and that's very relaxed.
  • Integrated development environment - Free Pascal comes with an IDE which work on several platforms, in which you can write, compile and debug your programs. You will save huge amounts of time using the IDE, the best programming friend you have.
  • Great integration with assembler - This allows for even the most lower level tasks to be possible with Free Pascal. The assembler syntax can also be choosen, either Intel or AT&T style. Another possibility is transforming the program into a source file for Nasm.
  • Object oriented programming - And if you do serious programming, you are of course very interested in object oriented programming. Use the Turbo Pascal and Object Pascal ways of OOP according to your taste. The FCL and Free Vision and provide you with the powerful object libraries you need. For your database needs we support PostgreSQL, MySQL, Interbase and ODBC.
  • Smartlinking - Free Pascal's smart linker leaves out any variable or code that you do not use. That makes small programs small with a big S, while they are still statically linked, avoiding DLL hell!
  • Distribution independence (Linux) - As a result of this, software compiled by the Linux version of Free Pascal runs on any Linux distribution, making it much, much, easier to make your software support multiple Linux distributions.
  • Available for a lot of platforms on several architectures - Free Pascal is available for more platforms than most other Pascal compilers and allows easy cross-compiling, just change the target in the IDE and compile! And there is work going on for even more platforms and processors.
  • Compatible - Have existing code? Free Pascal is more compatible with it than any other Pascal compiler. We are almost completely compatible with Turbo Pascal and quite well compatible with Delphi source code. If you have code in another language, like C or assembler, just use favorite compiler for it and call it from Free Pascal.