zlacker

[parent] [thread] 1 comments
1. beautr+(OP)[view] [source] 2024-01-24 07:55:55
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).

replies(1): >>pjmlp+W9
2. pjmlp+W9[view] [source] 2024-01-24 09:30:30
>>beautr+(OP)
That 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.
[go to top]