Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's exactly how the iOS app I'm building right now is factored, specifically so that all of the networking/model layer/sync code is identical between iOS and Android.

I'm using libuv, SQLite, CurveCP/NaCl and MessagePack for the cross-platform stuff, and the rest of the code is straight C (which I prefer to C++). So far, it's working well, although it did require more effort to set up initially, primarily due to multi-threading.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: