FreePascal just added RAII for automated memory management with records.
Delphi now has anonymous functions and some kind of type inference for variables