Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
OpenGL нужен чтобы что-то более сложное рендерить, чем список с элементами.
Или когда есть уже написанный нативный код и охота его просто портировать?
Тем более, что большая часть любого ПО таки платформонезависима априори
Меня такой подход ну совсем не устраивает.
А гуй уж хрен с ним, сделаю в соответствииВы как-то преуменьшает сложность, важность и объем работы для реализации хорошего GUI для мобильной платформы.
Дженерики на примитивы не распространяются.
Но как именно это влияет не производительность?
Отнимают, конечно, но так ли много?
List<Foo> fooList;
List<Object> fooList;
One crazy idea that the team had at that dinner was to translate Android’s source code to C#
Автоматическую конвертацию более миллиона строк Java-кода Android 2.x провели с помощью улучшенной версии Sharpen.
Java Translation via Sharpen
Android’s core codebase contains over a million lines of Java code, and we knew we wanted to be able to stay up to date with new releases of Android — in fact, we started with the Android 2.x source code back in 2011, and then upgraded XobotOS to Android 4.0 when Google open sourced Ice Cream Sandwich earlier this year. So for us, the only reasonable option was to do a machine translation of Java to C#, building and maintaining any necessary tools along the way.
The tool we used as a starting point is called Sharpen. Sharpen is famous for helping people such as Frank Krueger port a Java applet to an award-winning iPad app in two months.
We matured Sharpen a lot, and the result is a much-improved Java-to-C# translation tool for everyone. We are releasing this new version of Sharpen today along with the code for XobotOS and we hope that many more people will benefit from it and contribute to it.
> Может я что-то недопонимаю, но «Android на C#» звучит так, будто ОС написана на этом языке.
Так и есть.
Так вот Dalvik VM это ни разу не ОС Android
I first learned about the CLR by reading countless reports on the web that said it was a terrible platform for dynamic languages in general and for Python in particular. IronPython started life as a series of quick prototypes to help me understand how this platform could be so bad. My plan was to prototype for a couple of weeks and then write a pithy paper titled, “Why the CLR is a terrible platform for dynamic languages.” This plan was turned upside down when the prototypes turned out to run very well—generally quite a bit faster than the standard C-based Python implementation.
гнать в компилируемый языкТОЛСТО
AOT создаст ооочень большие проблемы на слабых моделях, которых у аднройда большая часть сегментаКаким образом? Какая разница, генерит код JIT в рантайме или при установке фреймворка?
To date, no part of Java has been standardized by Ecma International, ISO/IEC, ANSI, or any other third-party standards organizationТак где стандарт-то? Зачем вы в меня этими ссылками кидаетесь? Надеетесь, что английский плохо знаю и читать не буду?
XobotOS
Android портирован на C#