Hacker News new | ask | show | jobs
by pjmlp 4288 days ago
> OS and Android supports are on their way in case you're not following recent developments.

Yes, but it remains to be seen how Go's view on data structures map Objective-C and Java APIs.

As for Android support, the Android team doesn't seem to care any little bit about it, given their statements on Google IO.

So you have developers of a Google language trying to target a Google platform, where the platform owners just want to support Java (NDK is a kind of stepchild).

1 comments

The rough shape the Go<->Java mapping has already been formed:

https://godoc.org/code.google.com/p/go.mobile/cmd/gobind

Thanks for pointing this out.

Even though I don't like some of Go's decisions, it would be nice to see it on Android. After all, I created the ticket request on Android Tools.

But the feedback at Google IO from Android's team in this regard was disappointing.

Why do you want to see Go on Android? Yesterday, on the C++14 thread, you told me about why you gave up Turbo Pascal for C++ when you started programming for Windows 3.0 because you wanted to use a language officially supported by the OS vendor. If we apply that logic consistently, it seems to me that it would be best to just use Java on Android, unless you want to share code between platforms.
I agree, but sharing code between platforms is what I do, as I want to target both Android and Windows Phone on my hobby coding. So the common language winner to both SDKs is C++.

The ticket was created back when I was still into Go and was wishing for first level support on Android.

Still I think it would be nice if it would be supported for those that like the language.

Have you looked at RemObjects Elements (http://www.remobjects.com/elements/)? With that (commercial) toolchain, you can write in either C# or Oxygene (an Object Pascal-derived language), and compile to .NET IL, JVM bytecode (and from there to Dex bytecode for Android), and even native code running atop the ObjC runtime for iOS and Mac.
I know then from the time they used to collaborate with Embarcadero. Although I left Turbo Pascal/Delphi when Windows 3.x was still actual, I kept on following Borland.

What I am doing are very basic hobby projects, when private life allows for, which is seldom the case nowadays. You can check some of them with my nick at GitHub.

If I would be doing a commercial app, I would be buying either Qt or Xamarin, mainly because they are better known and using Pascal like languages (except maybe Ada) is no longer relevant on my CV.