News for hackers. Stuff that matters.
Re:Go support for Android by fidotron on Friday June 20, 2014 @09:59PM (#7923862)
Intriguing. I'm not aware of much, if any, interest in Go in the games community, but there we are. C# seems to have finally taken off big time.

What would be cool/interesting is if you can write half decent audio processing code in Go for Android without the GC kicking in at the wrong moment.

They're 100% right about the broader API though.

Re:Go support for Android by cageface on Saturday June 21, 2014 @03:14AM (#7924413)
Go might be a good fit for game servers, but it seems like a completely uninteresting choice for game clients. I'd imagine game developers would either want to continue to work in C++ and leverage their existing skills and code bases or use a high level engine like Unity. The potential market for this seems quite small.

I'd really love to see Google throw some serious engineering muscle behind Rust, with the long-term goal of making it the default first-choice language for Android development. I'm not holding my breath for this though.

The design of Swift was somewhat hobbled by ObjC/Cocoa legacy requirements but it's still much better language for native client development than Java, IMO. Sooner or later Google is going to need a better story here.

Re:Go support for Android by andrewflnr on Saturday June 21, 2014 @02:54PM (#7925752)
Having written a bit of Rust, I'm not sure it's suited to being the default language for any platform, simply because it's really hard; it forces you to plan the lifetimes of your data pretty carefully. If you don't actually need all the guarantees and performance Rust gives, it's quite possibly a better idea to go with a managed language. Not that I wouldn't like to see it be a first-class option, just not the first one you point the masses at.

I'd be happy to be convinced otherwise by someone who knows more. :)

Re:Go support for Android by pjmlp on Sunday June 22, 2014 @06:26AM (#7927451)
It is still way easier than using languages with manual memory management like C and Pascal derivatives.

Since you are not forced to think about lifetimes, then you get memory leaks, double frees and dangling pointers, usually leading to crashes in totally unrelated locations or worse, security exploits.

Re:Go support for Android by andrewflnr on Sunday June 22, 2014 @12:08PM (#7928224)
Um, right. I did suggest a managed language as an alternative.
Re:Go support for Android by pjmlp on Sunday June 22, 2014 @01:12PM (#7928462)
Yeah right, but for me managed is a term coined by Microsoft as .NET was introduced.

Any language with automatic memory management, be it via dataflow analysis, RC or GC is managed.

Re:Go support for Android by mfn on Saturday June 21, 2014 @12:05AM (#7924142)
I'm surprised C# is gaining this much traction in the games community despite the complete abandonment of both XNA and Managed DirectX by Microsoft.
Re:Go support for Android by CmonDev on Saturday June 21, 2014 @06:40AM (#7924662)
It's the best modern language overall (if you count everything: IDE, APIs, language design, cross-platform capability, capital backing, reach, approachability).

Also XNA is reborn as MonoGame. Microsoft wants to decouple from it's APIs and tools by offloading to OSS and third party (Unity3d).

Re:Go support for Android by rational-future on Saturday June 21, 2014 @12:11AM (#7924153)
C# lets you develop games that run on Windows, OsX, Linux, Android, iOS, Windows Phone, Xbox and PS, while sharing all non-UI and parts of the UI code.
Re:Go support for Android by yzzxy on Saturday June 21, 2014 @02:52AM (#7924384)
I think this is 90% a result of Unity.
Re:Go support for Android by higherpurpose on Saturday June 21, 2014 @03:17AM (#7924416)
Let's hope Unity will support Rust, too, then...and I guess Go now as well, if Google says they want it for games.
Re:Go support for Android by themartorana on Saturday June 21, 2014 @10:22AM (#7925046)
Likely not - C# seems here to stay on Unity3D, but speeding up execution through tools like IL2CPP seem most likely.

http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-...

Re:Go support for Android by yzzxy on Saturday June 21, 2014 @02:08PM (#7925613)
Unity only supports managed code unless you have Unity Pro, and its not clear to me how well you can use other languages; I think the support may be more for middleware libraries and such.
Re:Go support for Android by mcintyre1994 on Saturday June 21, 2014 @07:01AM (#7924695)
Would they have to be ported to Mono to be used for Unity?
Re:Go support for Android by CmonDev on Saturday June 21, 2014 @06:42AM (#7924665)
They don't even support the latest version of C#.
Re:Go support for Android by pjmlp on Saturday June 21, 2014 @10:42AM (#7925094)
Good desktop integration alongside P/Invoke, meant many game studios started moving their game building tools from C++/Qt/MFC to C#/Windows Forms/WPF.

So this way C# got a foot on the door, long before XNA and Managed Direct X came into the picture.

Re:Go support for Android by stcredzero on Saturday June 21, 2014 @12:22AM (#7924181)
Go is interesting for game servers. Channels and selects are the shiznit! Not there yet, but has potential. Rust has even more potential.
Re:Go support for Android by themartorana on Saturday June 21, 2014 @10:16AM (#7925019)
We've moved pieces of our game backend architecture from Python to Go, especially the bits that really benefit from high concurrency and possible parallelism. Moving the entire API is a monolithic task, but I imagine we'll eventually get there. But carving out the bits that need high speed, high concurrency (like sending 500 GCM notifications a second, for instance) really thrive.

Our client dev is all Unity, however, and I don't quite see Go entering our client dev cycle at all. And I'm a huge Go fan.

Re:Go support for Android by jay_kyburz on Saturday June 21, 2014 @05:28AM (#7924553)
As a game developer I would be intrested in this. I would love to have my client and server code in the same language so I would not have to write things twice.

Having said that, I'm not at all interested in writing an app that was Android only so I'll be sticking with javaScript for a while yet.