Redian新闻
>
The State of Go Language for Android Native Development
avatar
The State of Go Language for Android Native Development# MobileDevelopment - 移动开发
e*t
1
【 以下文字转载自 PhotoForum 讨论区 】
发信人: expert (thinkpadfans -> applefans), 信区: PhotoForum
标 题: 动物园打鸟
发信站: BBS 未名空间站 (Sun Jun 17 20:56:26 2012, 美东)
5D3+456
ISO基本上都是6400, 保证1/800s 快门,鸟大部分是室内。回家一看没降噪之前很惨啊
大家凑活看,距离近一点的话XB2给力很多,过几个礼拜再去拍
1.热气球
2.雕牌洗衣粉。。。
3. 无名小鸟
4.无名小鸟2
5. 无名小鸟3
avatar
B*y
2
记得90年代国内的广告是一旦拥有,别无他求。在版上看它连排名都没有进去,是不是
连双狮都不如?
avatar
z*n
3
The State of Go Language for Android Native Development
by Sergio De Simone on Jun 27, 2014 | Discuss
A couple of different proposals from Google engineers and independent
developers are aiming at making it possible to write native Android apps in
Go. This will not go so far as allowing Go apps to access the full Android
NDK, but it could allow access to a subset of it.
According to David Crawshaw, engineer at Google and author of a proposal to
add partial Go support for Android apps, "providing a Go equivalent to the
Android platform is intractable. The platform is written in Java and has a
huge API surface."
There is however, says Crawshaw, a subset of Android apps written against a
much smaller C-based API surface provided in the Android NDK: Games. Thus it
becomes feasible to build Go support for Android providing the equivalent
features found in the NDK.
Crawshaw proposes that during the Go 1.4 cycle, support for a GOOS=android
option will be introduced to the Go repository that will include:
Bindings for OpenGL, OpenSL, and OpenMAX as exported through the Android
NDK.
A Java -> Go language binding generator. Given a Go package, this will
let Java code call it, so game menu UIs can be built in the standard SDK.
Android Studio build system integration.
Crawshaw's proposal to bring Go to Android is not the only one. Elias Naur
suggests to extend Go toolchain so that it supports the creation of shared
libraries. This would allow to create an Android app which uses a Go library
loaded and run in Android apps as distributed in .apk files. An important
requirement for this to happen has been already satisfied in Go 1.3 by
adding support for cross-compilation. Cross-compilation is required because
the NDK does not run on Android itself and only executables and shared
libraries compiled and/or linked with the Android NDK are guaranteed to run
on Android devices.
The latter proposal is based on an existing open-source project by Elias
Naur, goandroid. Goandroid patches Go tools and runtime to allow the
creation of shared libraries that can be run within native Android apps and
is not officially supported by Google.
Finally, a more comprehensive framework that aims at allowing to write
Android native applications in Go is Mandala. Mandala uses the Goandroid
toolchain and according to its creator, Andrea Fazzi, thanks to Mandala "you
can develop, test and run your application on your desktop and then deploy
it to an Android device. It encourages the use of idiomatic Go for writing
Android applications: communication happens through channels and not
callbacks."
Mandala comes close to Crawshaw's proposal, feature-wise, and also aims at
providing a solution mostly for games: "The framework should not be
considered a high-level game engine but as a basic layer onto which game
engines can be built or existing ones can be used." Fazzi warns that Google
does not support native Android development in Go, but expresses his hope
that "the present work could act as a sort of incentive in the direction of
an official Android support by the Go Team."
avatar
j*r
4
应该在经典豪华品牌里面吧,瘦死的骆驼比马大。

【在 B******y 的大作中提到】
: 记得90年代国内的广告是一旦拥有,别无他求。在版上看它连排名都没有进去,是不是
: 连双狮都不如?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。