3 ms·
It's extremely good. Goroutines and channels make it very straightforward to set up an ECS engine hence you can actually run a lot of the engine in parallel an
by angra_mainyu 3y ago
It's extremely good.
Goroutines and channels make it very straightforward to set up an ECS engine hence you can actually run a lot of the engine in parallel and not have to stick to the "game loop" structure. Build your systems similar to the actor model with a mailbox, have an event/messaging bus, and you basically have a very performant engine.
I've yet to run into issues with the GC. The only bit of tuning I had to do was be careful with interfaces in hot paths and batch all graphics calls.
- tslocum 3y agoSpeaking of, I created an ECS framework for use with Ebitengine: https://code.rocket9labs.com/tslocum/gohan https://code.rocket9labs.com/tslocum/gohan