
Cider kan iOS apps draaien op Android
Bij Apple zullen ze er vast niet heel erg blij van worden: studenten van de University of Columbia hebben een app geschreven waarin je binnen Android ook iOS apps kunt draaien. Die apps hebben ze Cider genoemd, die heeft trouwens niets te maken met de 'wrapper' van Transgaming met
dezelfde naam, die door veel grote game-makers gebruikt wordt.
Hoewel het allemaal nog niet razendsnel is kan je op onderstaand filmpje wel zien dat het om een indrukwekkend staaltje werk gaat en dat het op zijn minst acceptabel loopt op deze Nexus 7. Dat OpenGL ES werkt vonden wij sowieso al behoorlijk indrukwekkend.
Het gaat hier trouwens niet om een simpele app, de kernel van Android moest eerst worden aangepast, dus voorlopig zal dit nog niet in Google Play te vinden zijn. De tekst van de paper die bij dit project hoort kan je hieronder lezen:
We present Cider, an operating system compatibility architecture that can run applications built for different mobile ecosystems, iOS or Android, together on the same smartphone or tablet. Cider enhances the domestic operating system, Android, of a device with kernel-managed, per-thread personas to mimic the application binary interface of a foreign operating system, iOS, enabling it to run unmodified foreign binaries.
This is accomplished using a novel combination of binary compatibility techniques including two new mechanisms: compile-time code adaptation, and diplomatic functions. Compile-time code adaptation enables existing unmodified foreign source code to be reused in the domestic kernel, reducing implementation effort required to support multiple binary interfaces for executing domestic and foreign applications.
Diplomatic functions leverage per-thread personas, and allow foreign applications to use domestic libraries to access proprietary software and hardware interfaces. We have built a Cider prototype, and demonstrate that it imposes modest performance overhead and runs unmodified iOS and Android applications together on a Google Nexus tablet running the latest version of Android.
Bron:
The Next Web.