Apple to Relaese Swift 5

Official builds are prepared for Linux (Ubuntu 14.04, 16.04, 18.04) and macOS (Xcode)
27 March 2019   455

After a year of development, Apple released the update of the Swift v. 5. Official builds are prepared for Linux (Ubuntu 14.04, 16.04, 18.04) and macOS (Xcode). The source code is distributed under the Apache 2.0 license.

The new version has ABI stabilized for macOS, iOS, tvOS and watchOS platforms. It is possible to deliver new versions of libraries without recompiling applications. In the standard library, the internal representation of strings is translated to UTF-8 encoding. Improved support for raw text (with special characters and line breaks) in string literals. New type for Result error handlers and SIMD vector type added. The possibilities for interpolating strings with the String type (text selection from arbitrary data) are expanded. The performance of the Dictionary and Set types has been increased.

The package manager provides support for mirroring dependencies, associating assembly parameters with a target platform, generating coverage data, and defining custom requirements for supported target platforms. The ability to import libraries into the REPL without assembly in the format of executable files has been added to the "swift run" command.

Get more info at official website

Google to Unveil macOS Vulnerability

It is associated with the implementation of a copy-on-write mechanism in the system
05 March 2019   795

Specialists at Google Project Zero found a vulnerability in the macOS kernel. It is associated with the implementation of a copy-on-write mechanism in the system, used for operating with copies of memory. An attacker can change files in a mounted macOS file system image without the file system warning and get the execution of malicious code.

This copy-on-write behavior works not only with anonymous memory, but also with file mappings. This means that, after the destination process has started reading from the transferred memory area, memory pressure can cause the pages holding the transferred memory to be evicted from the page cache. Later, when the evicted pages are needed again, they can be reloaded from the backing filesystem.
 

Google Project Zero team

The Google Project Zero team reported to Apple about their discovery back in November last year, but for 90 days the company failed to solve the problem, so the experts published information and the PoC-code exploit.