Grilled Cheese

ExploreLog inSign up

Point-Free

@pointfree.co

221 Following1.2k Followers

A video series exploring advanced topics in the Swift programming language, hosted by @mbrandonw.bsky.social and @stephencelis.com.

Save 30% off today! https://www.pointfree.co/discounts/black-friday-2025

PostsRepliesMedia
@pointfree.coOct 16, 2026, 6:43 PM

Come learn how to accomplish the seemingly impossible with Swift macros: • Customize macro logic based on static type information • Access static type information from inferred types Both things you cannot typically do by looking purely at the syntax! 🤯

SSwift Language@swift.orgOct 15, 2026, 10:49 PM

@pointfree.co's series on advanced macro techniques wraps up with part 2: type inference. A great read for Swift macro authors. Check it out at www.pointfree.co/blog/posts/2...

pointfree.coAdvanced macro technique #2: Type inferenceThe final advanced Swift macro technique we will discuss is how macros can determine the static type of an expression whose type must be inferred by the compiler. This is particularly useful for macro...
@swift.orgOct 15, 2026, 10:49 PMReposted by @pointfree.co

@pointfree.co's series on advanced macro techniques wraps up with part 2: type inference. A great read for Swift macro authors. Check it out at www.pointfree.co/blog/posts/2...

@pointfree.coOct 15, 2026, 6:36 PM

Watch this week’s video to learn how: www.pointfree.co/episodes/ep3...

@pointfree.coOct 15, 2026, 6:36 PM

A benefit of defining your app’s business logic using “Nonisolated Core, Isolated Shell” is that you can take advantage of Swift Testing’s parallelization in ways you can’t when all your code is isolated to the MainActor. This can lead to a test suite that runs 10⨉ faster!

Test results of a MainActor-bound suite: 1.273 seconds to run.Test results of the same suite on background actors: 0.141 seconds.
@pointfree.coOct 14, 2026, 2:19 PM

This week we started reaping the benefits of "nonisolated core, isolated shell". We write features a single time, without thinking about isolation, then wrap the feature in the isolation we need. @‌MainActor for SwiftUI, arbitrary actor for tests!

www.pointfree.co/collections/...

Photo, no descriptionPhoto, no description
@pointfree.coOct 13, 2026, 6:04 PM

Learn about what went into designing its concurrency system in our latest video series: www.pointfree.co/episodes/ep3...

@pointfree.coOct 13, 2026, 6:03 PM

The feedback on ComposableArchitecture 2.0 has been pretty reassuring 😁

A screen shot from Slack:

i recently started using TCA 2.0 in a large codebase with mutliple architectures and old technologies 

was able to refactor an old module and went from 70K lines of code down to 13K :exploding_head:

and the best part? 
it was better in ALL aspects: performance, efficiency, developer experience, and smooth UI and UX AND was testable in every single aspect one can think of.

thank you @Brandon Williams and @Stephen Celis for the incredible work and effort! :sparkles::fire:
@pointfree.coOct 8, 2026, 2:51 PM

Advanced Swift macro technique: Accessing inferred types

Macros only see the syntax of Swift code, so it seems impossible to access inferred types. But with a clever trick involving associated type inference, we can achieve the seemingly impossible!

www.pointfree.co/blog/posts/2...

Photo, no description
@pointfree.coOct 7, 2026, 6:20 PM

Which error would you prefer to diagnose? The one that is presented on the problematic line, or the one hidden in the guts of expanded macro code?

@pointfree.coOct 7, 2026, 6:02 PM

Part 1 of our Advanced Swift Macros series is out!

You may think macros can only see the stringy syntax of Swift code, but it is possible to tease out some static type information. You can even detect if a type conforms to a protocol!

🤯 www.pointfree.co/blog/posts/2...

@pointfree.coOct 7, 2026, 2:47 PM

Come for the real world explanations of isolation in Swift, stay for the deep dives into esoteric underscored attributes like '@_inheritActorContext(always)' 🤣

www.pointfree.co/collections/...

Photo, no description
@pointfree.coOct 6, 2026, 5:29 PM

Learn all the details of the pattern: www.pointfree.co/episodes/ep3...

@pointfree.coOct 6, 2026, 5:29 PM

This week we explore the “Nonisolated Core, Isolated Shell” pattern in Swift using a type that drives the business logic of a SwiftUI app. A nonisolated “Core” type is hosted in an isolated “Store” type, simplifying the complexities one typically encounters in Swift concurrency.

A code snippet from the episode of the "Core" type.A code snippet from the episode of the "Store" type.
@pointfree.coOct 6, 2026, 5:07 PM

We've got a new series of blog posts coming up:

Advanced techniques in Swift macros

We will show off a few clever tricks for teasing static type information in macros, something that is commonly thought to be impossible!
www.pointfree.co/blog/posts/2...

@pointfree.coOct 5, 2026, 5:41 PM

Modern concurrency tools like nonisolated(nonsending) and Task.immediate got us closer to our goal, but not all the way. So we’re trying a new approach inspired by Gary Bernhardt’s “functional core, imperative shell”:

Nonisolated core, isolated shell.

www.pointfree.co/episodes/ep3...

@pointfree.coSep 30, 2026, 5:19 PM

We tried using two modern Swift concurrency tools to allow us to embrace non-sendability:

• nonisolated(nonsending)
• Task.immediate

They got us close to our goals, but sadly there were still data races. Watch this week's episode to understand why:
www.pointfree.co/episodes/ep3...

Photo, no description
@pointfree.coSep 29, 2026, 3:33 PM

Our deep dive into Swift isolation from a few months back may have been a bit abstract for people, so we are bringing things down to earth by designing real world code with isolation in mind from the beginning:

www.pointfree.co/collections/...

Photo, no description
@pointfree.coSep 28, 2026, 4:15 PM

Our code is at an impasse: we want to embrace non-sendability, but async work seems to force us into Sendable. We’ll revisit our approach to this problem from ComposableArchitecture 1.0, see why it's not ideal, and search for a better way.
www.pointfree.co/episodes/ep3...

@pointfree.coSep 24, 2026, 2:35 PM

We do not feel that learning and teaching will ever be pointless. We love learning new topics and we love teaching topics that we have become familiar with. There continues to be an audience for this, and so we will serve them to best we can :)

@pointfree.coSep 23, 2026, 2:47 PM

We’ve started a new series: Designing for Isolation

Learn how designing for isolation from the beginning lets you embrace non-Sendable types, maintain thread safety, and keep asynchrony from infecting every corner of your codebase.

Follow along here: www.pointfree.co/collections/...

Photo, no description
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-16 19:33:48 EDT