Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm looking for something that's relatively low-level (not a game engine) but preferably abstracts some of the boilerplate away and is cross-platform. Something like go-bgfx would have been perfect for me, but it has been long abandoned. The only real remaining option appears to be the glfw-bindings go-gl/glfw. Otherwise, I could make use of cgo to wrap some c/c++ code myself. I'm somewhat hesitant to go with glfw, because openGL isn't supported on all platforms (but realistically, I'm not going to publish anything that needs to go on mobile), and doesn't support raytracing, which I eventually want to mess around with too.
I'm looking for something that's relatively low-level (not a game engine) but preferably abstracts some of the boilerplate away and is cross-platform. Something like go-bgfx would have been perfect for me, but it has been long abandoned. The only real remaining option appears to be the glfw-bindings go-gl/glfw. Otherwise, I could make use of cgo to wrap some c/c++ code myself. I'm somewhat hesitant to go with glfw, because openGL isn't supported on all platforms (but realistically, I'm not going to publish anything that needs to go on mobile), and doesn't support raytracing, which I eventually want to mess around with too.
Fair enough! There are Go bindings for sdl here, and bindings for RayLib here. Beyond that, everything go game-related that I know of is a game engine.
Fair enough! There are Go bindings for sdl here, and bindings for RayLib here. Beyond that, everything go game-related that I know of is a game engine.
You might want to try vulkan-go: https://github.com/vulkan-go/vulkan
Thanks. I'll have a look at it. I've heard that working with unabstracted vulkan is really hard though (>1000 lines of code to render a single triangle). That seems pretty daunting. I think I'll just try glfw and see where I get with that.
You can check out go-webgpu.
If you decide to go with it and want to learn it I would recommend you to refer https://sotrh.github.io/learn-wgpu/ and refer to Go code for the tutorials here https://github.com/rajveermalviya/go-webgpu-examples/tree/main/learn-wgpu/beginner (WIP, I am in the process of making complete doc)
If you decide to go with it and want to learn it I would recommend you to refer https://sotrh.github.io/learn-wgpu/ and refer to Go code for the tutorials here https://github.com/rajveermalviya/go-webgpu-examples/tree/main/learn-wgpu/beginner (WIP, I am in the process of making complete doc)
there's https://github.com/fogleman/fauxgl, it's pretty fast, although it hasn't been updated in two years or so.