I wonder if writing a video game in Go would be pleasant in the year 2026
0 Boosts
0 Likes
@swetland Hmm, I'm not so sure about this. Vulkan is completely festooned with extremely advanced synchronization primitives for coordinating timing between the CPU and GPU. I think someone who understood the Go runtime well could make it integrate with Vulkan well.
Downside: You would have to write Vulkan
@mcc For making something that just worked and in 2D, Ebiten was pretty good! The dev Hajimehoshi is just a cool chill dude, at least back in 2019 when I made a small puzzle game with it.
Recently updated my game to latest Go and Ebiten too, the only small pain point was that I used the Go Ast/Parser to do some codegen, but even then only took like… 4 hours to build/run again.
So… IMO it was pleasant in 2019 😁
@mcc I expect the Go (at least with the standard toolchain) use of green threads in its runtime would continue to cause a lot of pain interacting with native libraries. More so if those native libraries care about what actual OS thread is being used (definitely an issue for OpenGL, for example). Go seems to be happiest (and most enjoyable to work with) when the entire project is written in Go.