Live data from Hacker News

SwiftData

developer.apple.com

1–10 of 109 posts

Re: SwiftData

#3
post #2

Noob here, how does SwiftData compare to Redux (as a paradigm)?

Looks pretty different. Much closer to more modern state management approaches such as Recoil and Jotai.

Re: SwiftData

#4
post #2

Noob here, how does SwiftData compare to Redux (as a paradigm)?

It's not really comparable.

SwiftData is the Swift version of Apple's CoreData, which is pretty much a database ORM.

It's a massive improvement on the old APIs that were written decades ago for Obj-C.

Re: SwiftData

#5
It’d be interesting to see a performance comparison of SwiftData vs. (objc?) CoreData vs. plain XML for large datasets. I recall plain XMLs being faster than CoreData a few years ago in certain scenarios.

Re: SwiftData

#6
post #3
post #2

Noob here, how does SwiftData compare to Redux (as a paradigm)?

Looks pretty different. Much closer to more modern state management approaches such as Recoil and Jotai.

I don't get what you're saying here.

Swift Data is just a framework to annotate data structures to be stored by Core Data.

It looks a lot like an ORM.

Re: SwiftData

#7

It’d be interesting to see a performance comparison of SwiftData vs. (objc?) CoreData vs. plain XML for large datasets. I recall plain XMLs being faster than CoreData a few years ago in certain scenarios.

Isn't SwiftData mostly a wrapper around CoreData?

Re: SwiftData

#8

It’d be interesting to see a performance comparison of SwiftData vs. (objc?) CoreData vs. plain XML for large datasets. I recall plain XMLs being faster than CoreData a few years ago in certain scenarios.

Isn't SwiftData mostly a wrapper around CoreData?

Most definitely

Re: SwiftData

#10
I’m actually really looking forward to this. I tried building a few apps in 100% SwiftUI coming from React/Node.js and it was a pretty major pain. I also don’t know UIKit so I couldn't easily fallback.
Post reply on HN