BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Koushik Dutta is Bringing C#, Ruby, and Python to Google’s Android

Koushik Dutta is Bringing C#, Ruby, and Python to Google’s Android

Leia em Português

This item in japanese

Koushik Dutta has reached a major milestone in his effort to support C# and Python on Google’s mobile phone platform, Android. Starting with Mono as a base, he has created bridges that allow Java code written for Dalvik to call into Mono code. Likewise, Mono code written in C# or IronPython can now call back into Dalvik code.

Currently the syntax for C# is a bit verbose, but that should improve once Mono adds support for the new C# keyword “dynamic”. Variables with the type dynamic can use custom binders to determine how to call a method at runtime, which would fit well with interop scenarios such as this.

Another important development from this project is the ability to run Python and Ruby applications on the Android. Since this project is based on Mono, it brings with it support for the Dynamic Language Runtime and the language implementations IronPython and IronRuby.

You can see the examples and source code on Koushik Dutta’s blog.

Rate this Article

Adoption
Style

BT