Live data from Hacker News

Realm 1.0

realm.io

51–60 of 112 posts

Re: Realm 1.0

#51
post #22

The "What is Realm?" paragraph begins with "Realm is not an ORM". Jesus Christ, that was the very first line.

Well thats the reason I asked to elaborate on how they are different.

One is an ORM, the other is not. If you want I can explain to you the difference between airplanes and horses, u interested?

Re: Realm 1.0

#52
post #34

As I understand it Realm is an Object database. It's similar to the GemStone Smalltalk database in that regard but only local to the device. How does Realm tackle data syncing between devices ?

[deleted]

Re: Realm 1.0

#53
my main frustration with realm is that the design for the rxjava support is not that great. I can't use custom schedulers when fetching data and almost always end up mapping realm data objects to Pojo immutable entities generated with Autovalue, thus giving up the lazy loading speedup (since I have to copy all the data). also sometimes the asObservable() method returns empty collections a few times before returning the whole collection EVEN IF FILTERED WITH .isLoaded() and is wayyy too much spammy (it redelivers to subscribers a whole lot more times than when the underlying model is written to), therefore I have to debounce the stream with 1 second to save the adapter from rebinding the whole dataset again.

Re: Realm 1.0

#54

VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?

> Is there any reason why you’d still use SQLite? Windows. Specifically, my current project is targeting Windows desktop (not WinRT/UWP) in addition to mobile platforms and Mac.

[deleted]

Re: Realm 1.0

#55
post #34

As I understand it Realm is an Object database. It's similar to the GemStone Smalltalk database in that regard but only local to the device. How does Realm tackle data syncing between devices ?

Probably left to the developer and their server to re-populate the data, as needed, in the other devices

Re: Realm 1.0

#56
What about using realm Java outside of Android? The readme says:

> This repository holds the source code for the Java version of Realm, which currently runs only on Android.

I'm interested in trying this on the desktop (windows/linux/mac), but that doesn't seem possible? Wonder what makes it android only.

Re: Realm 1.0

#57

What about using realm Java outside of Android? The readme says: > This repository holds the source code for the Java version of Realm, which currently runs only on Android. I'm interested in trying this on the desktop (windows/linux/mac), but that doesn't seem possible? Wonder what makes it android only.

FWIW you can use Realm Objective-C or Realm Swift on Mac OS X.

I'll let someone else clarify why Java outside Android isn't supported.

Re: Realm 1.0

#58

What about using realm Java outside of Android? The readme says: > This repository holds the source code for the Java version of Realm, which currently runs only on Android. I'm interested in trying this on the desktop (windows/linux/mac), but that doesn't seem possible? Wonder what makes it android only.

The core of Realm is closed-source, and Realm only provides builds for iOS, OS X, tvOS, and Android.

Re: Realm 1.0

#59

What about using realm Java outside of Android? The readme says: > This repository holds the source code for the Java version of Realm, which currently runs only on Android. I'm interested in trying this on the desktop (windows/linux/mac), but that doesn't seem possible? Wonder what makes it android only.

The core of Realm is closed-source, and Realm only provides builds for iOS, OS X, tvOS, and Android.

don't forget watchOS ;)

Re: Realm 1.0

#60

VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?

I'd like inheritance / polymorphism. For example, would love to subclass `AppUser` from `User`. I realize it's on your backlog, but just figure I'd give it another +1.

To answer your question, Realm blows away Core Data & straight up SQLite. The context management (or lack thereof) is wonderful. Going further, I have found the errors self-explanatory and easy to fix. Finally, nice job throwing an exception trying to start a write block in a write block -- this forces client programmer to really think about where their writes happen instead of blindly writing all the time (and inevitably running into a nested write).

Post reply on HN