News for hackers. Stuff that matters.
Re:OpenDiablo2 by essial on Wednesday June 24, 2020 @08:18AM (#23627007)
Project lead here. I switched from C# to go for multiple reasons. One was that we were having strange platform-specific issues between different operating systems with the runtime. Another reason was due to some design issues causing the code to be very difficult to work in.

I was originally going to re-write it in C, but when I saw go, I immediately fell in love with it. In my mind it sits somewhere between C and C++. Yes it has a GC, but it's not obtrusive. Plus the language is simple and nice to work with.

Regardless of what language I use, someone's going to say it's a "bad" choice and others will say it's a "good" choice. Personally I believe the language is just a tool, and go is working out extremely well for us so far.

Re:OpenDiablo2 by steeleduncan on Wednesday June 24, 2020 @10:22AM (#23628181)
I love go, but I've never thought of it for game projects due to the GC.

Have you had to do anything to avoid problems with the GC? (e.g. manual runtime.GC() calls, or work to avoid generating garbage)

Re:OpenDiablo2 by horan116 on Wednesday June 24, 2020 @01:35PM (#23631129)
No premature optimizations from the GC perspective that I am aware of. So far it has not gotten in the way from what I can see. The Go team has made some excellent improvements. The team has been doing work profiling along the way already even in this early phase.
Re:OpenDiablo2 by sydd on Wednesday June 24, 2020 @10:29AM (#23628268)
What frameworks were you using in the C# version? And which ones in Go?