profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/airspeedswift/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Ben Cohen airspeedswift @apple Cupertino http://airspeedvelocity.net/ Swift@Apple

airspeedswift/SwooshKit 50

Library of code from the Airspeed Velocity blog

airspeedswift/ImmutableSwiftSnake 11

A version of Snake in Swift that prints to the console and tries to avoid mutable variables

airspeedswift/swift 3

The Swift Programming Language

airspeedswift/swift-compiler-crashes 2

A collection of test cases crashing the Swift compiler.

airspeedswift/swift-evolution 2

This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.

milseman/swift 2

The Swift Programming Language

airspeedswift/swift-lldb 1

This is the version of LLDB that supports the Swift programming language & REPL.

airspeedswift/Dollar 0

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

PullRequestReviewEvent

push eventapple/swift-evolution

Doug Gregor

commit sha da46988f3fa395c14d611f4437b93ceecda4cf83

Async let second review (#1409) * [SE-0317] Flesh out the alternative design for all-explicit suspension points * [SE-0317] Added discussion of the use of property wrappers instead of `async let` to Alternatives Considered. * [SE-0317] Added discussion about requiring braces around an `async let` initializer expression to Alternatives Considered. * [SE-0317] Add a table of contents * Apply suggestions from code review Co-authored-by: Kavon Farvardin <kfarvardin@apple.com> * [SE-0317] Expand/clarify discussion of requiring "await" of all async lets * Update 0317-async-let.md Co-authored-by: Kavon Farvardin <kfarvardin@apple.com> Co-authored-by: Ben Cohen <airspeedswift@users.noreply.github.com>

view details

push time in a day

PullRequestReviewEvent

push eventDougGregor/swift-evolution

Ben Cohen

commit sha 133bd91e547240c10c6b2a4b23d2a33ed5a53def

Update 0317-async-let.md

view details

push time in a day

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventapple/swift

Varun Gandhi

commit sha 7a7c76426f4da876e5caef9ee1e795946f50b902

Further workaround for priority mishandling in runtime. (#38428) See rdar://79378762, SR-14802, SR-14841, SR-14875. This doesn't resolve all hangs, such as those occurring due to explicit usage of priorities and certain other situations where priorities seem to be causing issues (rdar://79823345), but it does resolve some cases. (cherry picked from commit fa406759108100b8111f53155e9e04f433de8997)

view details

push time in 12 days

PR merged apple/swift

[5.5] Further workaround for priority mishandling in runtime.

See rdar://79378762, SR-14802, SR-14841, SR-14875.

This doesn't resolve all hangs, such as those occurring due to explicit usage of priorities and certain other situations where priorities seem to be causing issues (rdar://79823345), but it does resolve some cases.

(cherry picked from commit fa406759108100b8111f53155e9e04f433de8997)

+6 -1

2 comments

1 changed file

varungandhi-apple

pr closed time in 12 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventapple/swift-evolution

Ben Cohen

commit sha 131e17cdff1460e186825ef5853c6d8784e5bcf7

Update 0312-indexed-and-enumerated-zip-collections.md

view details

push time in 14 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventapple/swift-evolution

Doug Gregor

commit sha 8609cad10891ea8809d8fd36bae212d1bf9862a6

[SE-0304] Update Structured Concurrency proposal based on feedback from the third review (#1406) * [SE-0304] Replace `TaskGroup.async` with `TaskGroup.addTask`. The use of the adjective `async` for creating new child tasks was too confusing and didn't fit well with the naming guidelines. Instead, use `addTask`, which makes it clear that we are adding a new task into a task group (the result of which is available via `next()`). * [SE-0304] Rename `sleep(_:)` to `sleep(nanoseconds:)`. * [SE-0304] Split out changes due to review #3 * [SE-0304] Rename TaskPriority.default to TaskPriority.medium * [SE-0304] Add (Throwing)?TaskGroup.waitForAll * [SE-0304] Rename `Task.yield()` to `Task.suspend()` * [SE-0304] Make `Task.sleep(nanoseconds:)` throwing on cancellation * Re-schedule review

view details

push time in 21 days

PR merged apple/swift-evolution

[SE-0304] Update Structured Concurrency proposal based on feedback from the third review

Summary of changes in response to the third review:

  • renamed Task.sleep(_:) to Task.sleep(nanoseconds:). This makes it clear that the wait is in nanoseconds, and leaves API space open for a sleep(_:) based on a better duration type in the future.
  • made Task.sleep(nanoseconds:) throwing; it will throw CancellationError if the sleeping task was cancelled.
  • renamed TaskGroup.async and TaskGroup.asyncUnlessCancelled to TaskGroup.addTask and TaskGroup.addTaskUnlessCancelled. The fundamental behavior here is that we're adding a task to the group. add by itself does not suffice, because we aren't adding a value (accessible via next()), we are adding a task whose value will be accessible via next(). It also parallels the use of Task { ... } to create top-level tasks.
  • renamed TaskPriority.default to TaskPriority.medium, because nil passed in to a TaskPriority? parameter is effectively the default for most APIs.
  • added TaskGroup.waitForAll and ThrowingTaskGroup.waitForAll.
  • renamed Task.yield() to Task.suspend(), which more accurately represents what this operation action does, and leaves the name "yield" for future work on generators.
+111 -120

0 comment

1 changed file

DougGregor

pr closed time in 21 days

push eventDougGregor/swift-evolution

Ben Cohen

commit sha 88111531a68783146d1ab311a065e2d043876129

Update proposals/0304-structured-concurrency.md Co-authored-by: Ben Rimmington <me@benrimmington.com>

view details

push time in 21 days

push eventDougGregor/swift-evolution

Ben Cohen

commit sha a9839cc0ab027e79320cace53b91ee355001b73d

Update proposals/0304-structured-concurrency.md Co-authored-by: Ben Rimmington <me@benrimmington.com>

view details

push time in 21 days

Pull request review commentapple/swift-evolution

[SE-0304] Update Structured Concurrency proposal based on feedback from the third review

 * Proposal: [SE-0304](0304-structured-concurrency.md) * Authors: [John McCall](https://github.com/rjmccall), [Joe Groff](https://github.com/jckarter), [Doug Gregor](https://github.com/DougGregor), [Konrad Malawski](https://github.com/ktoso) * Review Manager: [Ben Cohen](https://github.com/airspeedswift)-* Status: **Active Review (May 24 - June 3 2021)**+* Status: **Active Review (June 7 - 14 2021)**

Heh, thanks

DougGregor

comment created time in 21 days