Live data from Hacker News

Game Development in Go

j15r.com

1–10 of 60 posts

Re: Game Development in Go

#3

"Over Quota This application is temporarily over its serving quota. Please try again later." Lol, last time i have seen such a message was ten years ago ;-)

Damn, that was fast. Thought billing was enabled for that site, but I guess not. Fixed!

Edit: Or at least it should be. Might take a couple of minutes to clear up.

Re: Game Development in Go

#6
I was experimenting with the idea of learning game dev with golang but shortly after starting I realized that there's very little tooling for that and I'll probably drop that project midway. Needing to make my own engine/tools/bindings on every step drained all the enthusiasm.

Would love to see something like LÖVE made available for golang

Re: Game Development in Go

#8
Did you at all find that the printf methodology of debugging got in the way of the gamedev? I've been keeping an eye on Go, but have been hesitant to approach it seriously because of that debugging approach.

Re: Game Development in Go

#9
post #8

Did you at all find that the printf methodology of debugging got in the way of the gamedev? I've been keeping an eye on Go, but have been hesitant to approach it seriously because of that debugging approach.

I have worked with GDB and Go before; it's not intractable, just more difficult to interpret.

Printf frequently works very well for most debugging, especially server side. I use the regular logging module pointed at stdout instead of printf specifically, and increasing the debugging level works most of the time.

Its also nice that with a bit of metaprogramming and goroutines/channels, you can make log printing nearly free. I once saw a technique where you simply write your really detailed log messages to a ring buffer (using a lockfree algorithm), and spit them out when you fail. This is even easier to do in Go, since you can just send the messages over a channel and not have to worry about properly implementing a lock free algorithm, and spit them out in a `recover()` function surrounding your main (or look at them in GDB).

Re: Game Development in Go

#10
post #6

I was experimenting with the idea of learning game dev with golang but shortly after starting I realized that there's very little tooling for that and I'll probably drop that project midway. Needing to make my own engine/tools/bindings on every step drained all the enthusiasm. Would love to see something like LÖVE made available for golang

[deleted]
Post reply on HN