Need advice about which tool to choose?Ask the StackShare community!

CoreData

62
46
+ 1
0
Realm

259
431
+ 1
16
Add tool

CoreData vs Realm: What are the differences?

CoreData: A framework that is used to manage the model layer objects in your application. It is an object graph and persistence framework provided by Apple in the macOS and iOS operating systems. It allows data organized by the relational entity–attribute model to be serialized into XML, binary, or SQLite stores. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence; Realm: Realm makes it easy to build reactive apps, realtime collaborative features, and offline-first experiences. The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.

CoreData belongs to "Object Relational Mapper (ORM)" category of the tech stack, while Realm can be primarily classified under "Mobile Database".

Realm is an open source tool with 13.4K GitHub stars and 1.74K GitHub forks. Here's a link to Realm's open source repository on GitHub.

According to the StackShare community, Realm has a broader approval, being mentioned in 59 company stacks & 51 developers stacks; compared to CoreData, which is listed in 8 company stacks and 3 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CoreData
Pros of Realm
    Be the first to leave a pro
    • 7
      Good
    • 3
      Elegant API
    • 3
      Cloud Syncing
    • 2
      React Native Support
    • 1
      Strong Adoption Growth

    Sign up to add or upvote prosMake informed product decisions

    Cons of CoreData
    Cons of Realm
      Be the first to leave a con
      • 1
        No offline support for web till now

      Sign up to add or upvote consMake informed product decisions

      What is CoreData?

      It is an object graph and persistence framework provided by Apple in the macOS and iOS operating systems. It allows data organized by the relational entity–attribute model to be serialized into XML, binary, or SQLite stores. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence.

      What is Realm?

      The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use CoreData?
      What companies use Realm?
      See which teams inside your own company are using CoreData or Realm.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with CoreData?
      What tools integrate with Realm?
      What are some alternatives to CoreData and Realm?
      Entity Framework
      It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
      Hibernate
      Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
      SQLAlchemy
      SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
      Sequelize
      Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
      Prisma
      Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
      See all alternatives