Facebook Does It Again. Cheating Dalvik
blog.mohitkanwal.com
Facebook Does It Again. Cheating Dalvik
1–10 of 66 posts
Re: Facebook Does It Again. Cheating Dalvik
#2While the official solution looks quite brief, retrofitting it is a nightmare. Unless Facebook got around to rewriting everything again, I can understand why they'd do it their way.
Re: Facebook Does It Again. Cheating Dalvik
#3 While the official standard way to to fix this problem is described in the offical Android Blog.
Seems like Facebook missed it. What a waste.
However, in the post linked by facebook, they explain why they couldn't use it (vaguely) After a bit of panic, we realized that we could work around this problem by breaking our app into multiple dex files, using the technique described here (http://android-developers.blogspot.com/2011/07/custom-class-loading-in-dalvik.html), which focuses on using secondary dex files for extension modules, not core parts of the app.Re: Facebook Does It Again. Cheating Dalvik
#4Re: Facebook Does It Again. Cheating Dalvik
#5Software development isn't always stacking neat abstractions on top of each other. Sometimes you have real hardware and real legacy and you just got to deal with it, one way or another.
Re: Facebook Does It Again. Cheating Dalvik
#6We have this problem. We have a large, mostly-Java game for Android. It won't run on gingerbread, because we just have too much code. While the official solution looks quite brief, retrofitting it is a nightmare. Unless Facebook got around to rewriting everything again, I can understand why they'd do it their way.
Android L seems to be the next major architectural change, but I don't think KitKat will be the new Gingerbread, because Google is now requiring OEMs to only launch devices that are 2 versions and/or 9 months old, which will soon mean (going by the new release cycle) just 1 version behind. So the transition for new versions should happen a lot smoother in the future.
Re: Facebook Does It Again. Cheating Dalvik
#7I don't see how facebook cheated Dalvik 'again'? Seems like it's still just the one 'patch'/'hack'. Am I missing something?
Re: Facebook Does It Again. Cheating Dalvik
#8Re: Facebook Does It Again. Cheating Dalvik
#9We have this problem. We have a large, mostly-Java game for Android. It won't run on gingerbread, because we just have too much code. While the official solution looks quite brief, retrofitting it is a nightmare. Unless Facebook got around to rewriting everything again, I can understand why they'd do it their way.
Re: Facebook Does It Again. Cheating Dalvik
#10I don't see how facebook cheated Dalvik 'again'? Seems like it's still just the one 'patch'/'hack'. Am I missing something?
What they do "again" is pull some nice engineering feat that's also a bit of a hack, and therefore fun to read about. I assume the author is impressed, and likens it to some of Facebook's similar bend-the-world-to-my-turd undertakings such as patching git to be able to deal with Facebook's single gigantic (!) source code repository.