News for hackers. Stuff that matters.
Re:Show HN: Realm for Android by mahyarm on Tuesday September 30, 2014 @08:01PM (#8392144)
Oh you could seamlessly-ish share data between c++ cross platform and java/swift? That would be pretty useful!

So this kind of flow would be pretty simple right?

1. C++ cross-platform layer receives a text message, records it in the realmDB.

2. Java/ObjC UI watcher on that realmDB table automatically gets a callback update.

3. UI gets updated with the new message being displayed.

4. The app gets killed because of a crash, the new message is still safely recorded in the realmDB, user sees it on app relaunch.

Re:Show HN: Realm for Android by timanglade on Wednesday October 01, 2014 @04:42AM (#8393392)
Yes, you should be able to seamlessly share the data from multiple processes & languages at the same time already via the .realm file to achieve what you describe. No need to wait for a C++ release :) We do have a bug right now with inter-process synchronization but I believe it should be handled soon.