Swiftweekly.github.io: [51] Issue #51 - January 5, 2017

Created on 15 Dec 2016  路  18Comments  路  Source: SwiftWeekly/swiftweekly.github.io

full issue notes

Most helpful comment

Another truly shameless plug: https://github.com/apple/swift/pull/6495 -- better colorization of AST and parse tree dumps.

All 18 comments

Bug Reducer! https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20161212/003712.html

  1. Given a crashing sil-opt invocation, reduce the number of functions in the input file to a minimal set causing a crash.
  2. Given a crashing sil-opt invocation, reduce the number of optimization passes run on the input file to a minimal set and then try to reduce functions.
  3. A random pass pipeline generator that runs N rounds of a permuted performance optimization pipeline and tries to reduce the test cases using the above tools if a crash is found.

Slides from an IBM conference: https://twitter.com/clattner_llvm/status/810175976583950336

  • Discusses potential improvements for Swift compiler, such as parallel WMO based on LLVM's ThinLTO approach
  • Swift 5 planned for release in 2018, will include concurrency model
  • Discussions on concurrency model to begin in Spring/Summer 2017

@modocache - Ha! I just came here to post that link 馃槃

A truly shameless plug for the "commits and pull requests" section: https://github.com/apple/swift/pull/6298

This one fixes quite a few issues, while simplifying the implementation: https://github.com/apple/swift/pull/6309

This PR cleans up a number of issues related to the various casting operations, spelled as, as?, as!, and is...

Looking back on Swift 3 and ahead to Swift 4

Lots of good stuff to unwrap in there. Especially interesting are the "Possible Swift 4 Stage 2 Efforts". Here's a small sample, summarized:

  • Reflection: The core team is committed to adding powerful dynamic features to Swift.
  • First class concurrency: Actors, async/await, atomicity, memory model, and related topics.
  • Generics improvements
  • .swiftmodule stability
  • New scripting features: Regular expressions, multi-line string literals, etc.
  • Property behaviors
  • Syntactic sugar
  • So many others...

That email appears to be from July...? Or am I missing something?

Oops, my mistake. It was re-shared today and seemed very much applicable and I didn't check the date! Though the reference to Swift 3.0.1 seemed odd...

"Real compilers never crash" 馃槅
https://github.com/apple/swift/pull/6484

Another truly shameless plug: https://github.com/apple/swift/pull/6495 -- better colorization of AST and parse tree dumps.

@modocache - I saw that! Pretty rad 馃槑

Kevin Ballard's PR to include unavailable/deprecated/availability attributes when printing Obj-C declarations for Swift functions has been merged: https://github.com/apple/swift/pull/6480

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jessesquires picture jessesquires  路  9Comments

BasThomas picture BasThomas  路  4Comments

jessesquires picture jessesquires  路  10Comments

jessesquires picture jessesquires  路  6Comments

jessesquires picture jessesquires  路  4Comments