2 ms·
Dear Lord, no! I depend on cgo for my game! What's more, I have no complaints about cgo. It hasn't been a performance problem at all (my game runs smoothly at
by beautron 3y ago
Dear Lord, no! I depend on cgo for my game!
What's more, I have no complaints about cgo. It hasn't been a performance problem at all (my game runs smoothly at 240hz). And the interface for binding to C is quite simple and nice to work with (I made my own bindings to SDL2, OpenGL, and Steamworks).
Cgo did make cross-compiling trickier to set up, but I managed to do it with a fair amount of elbow grease (Windows and MacOS builds on my Linux desktop).
- pjmlp 3y agoThat is my point with my sarcastic remark, cgo should be embraced for the workflows it offers, instead of the whole "cgo is not Go" drama.