Go will log on to Android platform

Source: Internet
Author: User

Go will log on to Android platform

According to David Crawshaw, a member of the Google Go Language Development Team, the Go language is about to log on to the Android platform. For those who want to develop more languages than Java on the Android platform, although it is not the Dart or Groovy language, it is still a encouraging news.

This does not fully implement the Go language to replace Java. In the plan, the Android SDK is not fully involved in the encapsulation of the Go language on the Android platform, but based on NDK. For the Go language -- Crawshaw commented -- the SDK is too huge:


Make the Go language equivalent to Java on the Android platform-this is an impossible task. The Android platform is written in Java and contains a large number of API interfaces. Any attempt to encapsulate all these interfaces in the Go language is not worth the candle: manual encapsulation will lead to a lack of functionality, and automatic encapsulation will make the Go language ugly. However, it is difficult to implement it quickly.
Go 1.3 has been released, and Crawshaw revealed that it will contain this content in Go 1.4, so we still need to wait for a while. In any case, this is an interesting implementation that makes the programmer's work easier-at least in some programming.
Other information disclosed by Cawshaw includes:
OpenGL, OpenSL, and OpenMAX Interfaces
Java-> Go language interface tool, through which Java can call the Go Library

Appendix: The Go language is the second open-source programming language released by Google 2009. The Go language is specially optimized for the programming of Multi-processing system applications. programs compiled using Go can speed up to C or C ++ code, and it is more secure and supports parallel processes.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.