On November 25, a new version of the free Pascal and Object Pascal compiler was released — FPC 3.0.0 "Pestering Peacock."
Key changes in this release:
Improved compatibility with Delphi:
- Support for Delphi-like namespaces for modules has been added.
- It is now possible to create dynamic arrays using the Create constructor.
- AnsiString type strings now store information about their encoding.
Changes in the compiler:
- A new optimization level -O4 has been added, allowing the compiler to rearrange fields in class objects, not compute unused values, and speed up floating-point operations with potential loss of precision.
- Data flow analysis has been added.
- Support has been added for the following targets:
- Java Virtual Machine / Dalvik.
- AIX for PowerPC 32/64-bit (without support for resource building for 64-bit).
- MS-DOS real mode.
- Android for ARM, x86, and MIPS.
- AROS.
Source: linux.org.ru
