@airspeedswift@mastodon.social
@airspeedswift@mastodon.social avatar

airspeedswift

@airspeedswift@mastodon.social

thwart leader

This profile is from a federated server and may be incomplete. Browse more on the original instance.

airspeedswift, to random
@airspeedswift@mastodon.social avatar

// Only access this property via the queue

Narrator: but it was not only accessed via the queue

airspeedswift, to random
@airspeedswift@mastodon.social avatar

wait wait wait wait wait

wait

I am only now realizing the true horror, how has it taken me this long.

(our UK SNES looked like the top one)

airspeedswift,
@airspeedswift@mastodon.social avatar

@NeoNacho despite our politician’s best efforts, the UK was then and is now in Europe

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

Update on SwiftGodot and strict concurrency.

The easy stuff is gone, but the remaining stuff is hard. I could brute force my way to the end, but goal is not to just have it build, I want to make sure that my users can rely on the guarantees and be able to benefit from this additional level of safety.

So the next step will take some time to complete, as many of these will require some research into some Godot features.

airspeedswift,
@airspeedswift@mastodon.social avatar

@Migueldeicaza If you haven't tried it, it may be worth grabbing a toolchain from swift.org for the 6.0 release. There are additional features of the upcoming compiler that e.g. let non-Sendable types be transferred between isolation domains if they can be seen to be the last use on the outgoing side.

airspeedswift,
@airspeedswift@mastodon.social avatar

@Migueldeicaza I'm sorry, these look like they're coming from the embedded driver inside XCBuild falling back to using the out of process driver. They're harmless, but pretty annoying given the whole point of this is to get warnings to burn down.

Setting SWIFT_USE_INTEGRATED_DRIVER to NO in the xcode build settings should supress them.

A feedback for this would be great (it's a bug in Xcode, not the Swift toolchain, so not a GitHub Issue)

airspeedswift, to random
@airspeedswift@mastodon.social avatar

seeing a lot of debates that can be summarized as “the programmer can have a little race condition, as a treat”

mattiem, to random
@mattiem@mastodon.social avatar

Ah Saturday. A time to relax, recharge, and frantically invent a presentation you for some reason agreed to do in 36 hours.

airspeedswift,
@airspeedswift@mastodon.social avatar

@mattiem that is a long-ass presentation

airspeedswift, to random
@airspeedswift@mastodon.social avatar

Y’all are putting way too much inside didSet.

I get how temptingly convenient it is but it’s setting things up for future sadness.

Also no taking all that logic and stuffing it in a single method you call from didSet. You’re not fooling anyone.

airspeedswift,
@airspeedswift@mastodon.social avatar

Wanted to put together some logic that updates a stored property, preserves invariants, and triggers other business logic anyway, for a laugh? We had a tool for doing that: it was called a method.

airspeedswift, to random
@airspeedswift@mastodon.social avatar

I love it when people call them "structures" and "enumerations” like a parent using their child's full name.

airspeedswift, to random
@airspeedswift@mastodon.social avatar

me: types 2 letters into a search field
🔍: this one, right?
me: yep. you done looking?
🔍: yep, this one
me: you sure?
🔍: yep
me: really?
🔍: yep
me:
🔍:
me :
🔍: oh or maybe this one
me: <return>
me: godammit

stroughtonsmith, to random
@stroughtonsmith@mastodon.social avatar

So what does rewriting a Swift app in Swift 6 actually get you, that staying on Swift 5.x won’t? Will new Swift language/compiler features come to both language modes for the foreseeable future?

airspeedswift,
@airspeedswift@mastodon.social avatar

@stroughtonsmith Staying in Swift 5 mode with the Swift 6 compiler won't hold back any new language features other than full concurrency safety checking – that's the only feature gated by the language mode.

airspeedswift, to random
@airspeedswift@mastodon.social avatar

I never thought of using ; with switch. This is cute.

(Yes I know lots of people will hate this don’t @ me)
https://mastodon.cloud/@danwood/112259176952723210

airspeedswift, to swift
@airspeedswift@mastodon.social avatar

More embedded goodness on the blog

https://www.swift.org/blog/embedded-swift-examples/

airspeedswift, to random
@airspeedswift@mastodon.social avatar

The 11yo has a “let no part of the toast surface go un-jammed” policy, which explains the state of her keyboard.

airspeedswift, to random
@airspeedswift@mastodon.social avatar

I guess I could have posted that on my blog, except the dust is pretty caked on at this point, needs scraping off.

airspeedswift, to swift
@airspeedswift@mastodon.social avatar

I wrote up what I hope is a easy-to-follow walkthrough/tutoral for the newly proposed non-copyable generics features on the forums.

https://forums.swift.org/t/noncopyable-generics-in-swift-a-code-walkthrough/70862

airspeedswift, to random
@airspeedswift@mastodon.social avatar

Uh oh first time kids need help with a subject I actively hated and avoided learning at all costs (chemistry)

airspeedswift, to swift
@airspeedswift@mastodon.social avatar

It’s been great to see the rapid adoption of the Benchmark package across the ecosystem. Read more its features on the blog.

https://www.swift.org/blog/benchmarks/

airspeedswift, to swift
@airspeedswift@mastodon.social avatar

Experimental support for generic noncopyable types in the standard library is now available in the nightly toolchain.

Here's a simple demonstration of adoption of this feature on the Swift Playdate example project. Switching the Sprite type from an enum+class box to a simpler non-copyable struct drops binary size from 7k to 6k on the SwiftBreak game.

https://github.com/apple/swift-playdate-examples/pull/13

airspeedswift,
@airspeedswift@mastodon.social avatar

and yes, it was with a heavy heart that I had to temporarily write a .forEach method

airspeedswift, to random
@airspeedswift@mastodon.social avatar

Since people are still talking about Dune 2, here’s my contribution, which is that I was disappointed they left out 1/ the part about how Salusa Secundus and Arrakis were similarly harsh and 2/ basically anything about mentats

airspeedswift,
@airspeedswift@mastodon.social avatar

@boxed i'm unclear how they plan to reconcile Timothée Chalamet and Anya Taylor-Joy being the same age

airspeedswift, to random
@airspeedswift@mastodon.social avatar

thin mints are just a sad dry echo of actually good after dinner mints

airspeedswift, to random
@airspeedswift@mastodon.social avatar

Instead of the usual peppy pre keynote designer pop, the Apple gym speakers are pumping out Uriah Heap and it’s so incongruous.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • JUstTest
  • All magazines