Swiftweekly.github.io: [117] Issue #117 - September 6, 2018

Created on 23 Aug 2018  ·  27Comments  ·  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 27 comments

As I will be in NYC for try! Swift, I won't be able to write an issue that week. If somebody would like to take over, let me know!

https://twitter.com/dgregor79/status/1032774695039324160

The Swift Compiler’s new “request-evaluator” infrastructure is helping us isolate/eliminate mutable state and get a better handle on the dependencies in the compilation process. It’s very fun to extend: https://github.com/apple/swift/pull/18923

For the curious, the design document for the request-evaluator is here: https://github.com/apple/swift/blob/master/docs/RequestEvaluator.md

There is a lot of low-hanging fruit in the implementation of this design, from optimization’s to debugging aids to improved diagnostics. They don’t require compiler experience, even; just a bit of C++ and a sense of adventure. See the doc for ideas and ping if you have questions.

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

Nice simplification of the Swift reference counting model - the entire concept of “pinning” is gone now, thanks to exclusivity enforcement: https://github.com/apple/swift/pull/18922

https://twitter.com/AirspeedSwift/status/1034246047667707905

This is a huge improvement to the Swift PR benchmarks feature – making them run quicker with less noise – and it’s on by default now.

https://forums.swift.org/t/improved-benchmarking-for-pull-requests/15461

https://twitter.com/xge_apple/status/1035017364851445760

SwiftSyntax has been moved to its own repo as a SwiftPM package! Check it out here: https://github.com/apple/swift-syntax

226 accepted, 222 rejected (https://forums.swift.org/t/se-0222-lazy-compactmap-sequence/14850/16)

https://twitter.com/alex_hoppen/status/1035324759288963074

You can now use SwiftSyntax as a dependency of your Swift Package Manager project.

https://forums.swift.org/t/swiftsyntax-is-now-a-swiftpm-project/15691

https://twitter.com/jckarter/status/1035388126795980801

In honor of isMultiple getting added to Swift, here's a weird trick to optimize your is-multiple-of-constant checks better than your C compiler probably does now: http://duriansoftware.com/joe/Optimizing-is-multiple-checks-with-modular-arithmetic.html

https://twitter.com/jckarter/status/1035702547569201152

Come see @dgregor79 and me talk more about how we optimize Swift runtime metadata at the LLVM developer's meeting this October! http://blog.llvm.org/2018/08/announcing-program-for-2018-llvm.html

https://twitter.com/dgregor79/status/1037017604412436480

Working through the details on how #rustlang's "impl Trait" feature could be used to improve #swiftlang. Language design is messy and very, very fun. https://forums.swift.org/t/opaque-result-types/15645

Sent with GitHawk

https://twitter.com/SwiftLang/status/1037059467035074560

The Swift Server work group is now entering a new chapter in its evolution. Learn more about it here: http://swift.org/server

Sent with GitHawk

Oh dang. I've been off-the-grid too.

@SwiftWeekly/writers Is anyone willing to write this issue? (Sorry for late notice, we would publish in 2 days, but looks like @BasThomas has already gotten a lot of content!)

@gregheo ? 👼 😍 😬

You want me to write a poem in two days!?

I'll do it if I get a notarized letter from @jessesquires that says "I owe you." 😆

@gregheo 🤣

Thanks so much @gregheo 😍

Sent with GitHawk

227 in review

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

If this works out we might be able to drop addressors from the language altogether: https://github.com/apple/swift/pull/19154

Sent with GitHawk

Great work @gregheo 😍😍😍

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ColinEberhardt picture ColinEberhardt  ·  5Comments

jessesquires picture jessesquires  ·  6Comments

jessesquires picture jessesquires  ·  9Comments

jessesquires picture jessesquires  ·  7Comments

gregheo picture gregheo  ·  3Comments