SwiftWeekly / swiftweekly.github.io

A community-driven weekly newsletter about Swift.org
https://swiftweekly.github.io/
Creative Commons Zero v1.0 Universal
325 stars 48 forks source link

[117] Issue #117 - September 6, 2018 #408

Closed BasThomas closed 6 years ago

BasThomas commented 6 years ago

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.

BasThomas commented 6 years ago

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!

BasThomas commented 6 years ago

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.

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

132 rejected https://github.com/apple/swift-evolution/pull/898

BasThomas commented 6 years ago

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

Docker support is coming to http://Swift.org as an official part of the Swift project: https://forums.swift.org/t/kickstarting-new-official-docker-support-for-swift/15487

BasThomas commented 6 years ago

https://twitter.com/slava_pestov/status/1033468092280492032 + thread

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

223 returned for revision https://forums.swift.org/t/se-0223-accessing-an-arrays-uninitialized-buffer/15194/41

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

https://twitter.com/daniel_duan/status/1035331454467796993

Very good clarification on criteria for Swift stdlib API inclusion in SE-0225 announcement:

https://forums.swift.org/t/accepted-with-modifications-se-0225-adding-iseven-isodd-ismultiple-to-binaryinteger/15689

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

225 accepted with revision https://forums.swift.org/t/accepted-with-modifications-se-0225-adding-iseven-isodd-ismultiple-to-binaryinteger/15689

BasThomas commented 6 years ago

Finally: https://twitter.com/jckarter/status/1035568097535508480

BasThomas commented 6 years ago

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

RomanVolkov commented 6 years ago

https://stanislaw.github.io/2018/09/03/llvm-jit-objc-and-swift-knowledge-dump.html

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

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

jessesquires commented 6 years ago

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 ? 👼 😍 😬

gregheo commented 6 years ago

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 commented 6 years ago

SE-0200 accepted

https://forums.swift.org/t/accepted-se-0200-enhancing-string-literals-delimiters-to-support-raw-text/15822/1

jessesquires commented 6 years ago

@gregheo 🤣

BasThomas commented 6 years ago

Thanks so much @gregheo 😍

Sent with GitHawk

BasThomas commented 6 years ago

227 in review

BasThomas commented 6 years ago

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

BasThomas commented 6 years ago

Great work @gregheo 😍😍😍

Sent with GitHawk