4 ms·
Hi, I'm the author. SourceDNA has built a platform for crawling the app stores & indexing app code. We provide app review, helping developers improve their code
by NateLawson 11y ago
Hi, I'm the author. SourceDNA has built a platform for crawling the app stores & indexing app code. We provide app review, helping developers improve their code and security by finding apps that have out-of-date SDKs or use platform APIs incorrectly.
As a fun exercise, we looked into Google’s recent moves with Go 1.5 pre-release, which can compile apps for iOS and Android. They just published their first app (a calculator) on the app stores and we looked inside to see if there was anything too surprising. The apps are mostly Go, with a thin platform-specific UI and event layer but this does raise some questions about Google’s long-term mobile strategy.
Previous discussion about the app, including comments by one of the developers:
https://news.ycombinator.com/item?id=9875886 https://news.ycombinator.com/item?id=9875886
Let me know here if you have other questions. Is Google going after the cross-platform tools market? Is this the future of the Android SDK? Or is it just a curiosity?
- Sphax 11y agoWhere did you get the idea that Go's syntax is inspired by Python ? I don't think I ever saw that claim before.
- NateLawson 11y agoArray slices, godoc/pydoc, syntax relevance (export names by TitleCasing them), lack of semi-colons, etc. There's even a guide about it. https://golang-for-python-programmers.readthedocs.org/en/latest/ https://golang-for-python-programmers.readthedocs.org/en/lat... It's not so much that the syntax was derived from Python (because it's not) as that the language was clearly informed by the authors' experience working commercially with Python, Java, and C projects.