Free Pascal Compiler 3.0.0 released

On November 25, a new version of the free compiler for Pascal and Object Pascal, FPC 3.0.0 "Pestering Peacock", was released.

Main changes in this release:

Delphi compatibility improvements:

  • Added support for Delphi-like namespaces for modules.
  • Added the ability to create dynamic arrays using the Create constructor.
  • Strings of type AnsiString now store information about their encoding.

Compiler Changes:

  • A new optimization level -O4 has been added, which allows the compiler to rearrange fields in class objects, not calculate unused values, and speed up floating point operations with possible loss of precision.
  • Added data flow analysis.
  • Added support for the following targets:
    • Java Virtual Machine/Dalvik.
    • AIX for PowerPC 32/64-bit (without support for assembling resources for 64-bit).
    • MS-DOS real mode.
    • Android for ARM, x86 and MIPS.
    • WAIT.

Source: linux.org.ru

Add a comment