Swiftweekly.github.io: [133] Issue #133 - May 2, 2019

Created on 22 Apr 2019  ·  12Comments  ·  Source: SwiftWeekly/swiftweekly.github.io

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.

The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

full issue notes

All 12 comments

259 review

255 accepted

The review of SE-0259: Approximate Equality for Floating Point begins now and runs through May 1, 2019.

https://twitter.com/Ilseman/status/1121873837354700800

Sweet String->Float performance improvements and benchmarks from @_torust

https://github.com/apple/swift/pull/24198

https://twitter.com/slava_pestov/status/1121903823608524800

Nice work by @gottesmang -- stronger compile-time checking of SIL ownership invariants caught a memory leak that was introduced in 2015: https://github.com/apple/swift/pull/24314

@gottesmang In addition to shaking out bugs Ownership SIL will let us write a much better ARC optimizer

https://twitter.com/Ilseman/status/1122235619420168193

New offset indexing pitch is up!

Convenient syntax for applying an integer offset to an existing index (with implied start/end if omitted), as well as slicing collections using only offsets. This approach implies linearity in the magnitude of the offset.

https://forums.swift.org/t/pitch-offsetting-indices-and-relative-ranges/23837 https://twitter.com/Ilseman/status/1122235619420168193/photo/1

Interesting take on pitching. Anti-Pitch Just say “no” to protocols on structural types?

https://forums.swift.org/t/anti-pitch-just-say-no-to-protocols-on-structural-types/24043

Pitch Receiver Closures

Allow specifying the receiver of a closure. (what a closure is being called on)
This would modify how self behaves inside a closure body.
Similar like in Kotlin.

https://forums.swift.org/t/receiver-closures/24020

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jessesquires picture jessesquires  ·  10Comments

jessesquires picture jessesquires  ·  9Comments

jessesquires picture jessesquires  ·  4Comments

jessesquires picture jessesquires  ·  10Comments

jessesquires picture jessesquires  ·  8Comments