4 ms·
I tend to write fireworks or simple particle simulations in a new language / graphics api to test for performance as my first step (aka learning how to place a
by appstorelottery 3y ago
I tend to write fireworks or simple particle simulations in a new language / graphics api to test for performance as my first step (aka learning how to place a pixel on the screen, double buffer or whatever, do some simple logic / math, and learn the compilation pipeline). It's always a fun task and an easy benchmark: how many pixels can I move per frame?
I did this in 2021 in GO and Ebitengine and I was blown away by the performance the screen was mostly white with pixels, how easy it was to get the context running, and how many pixels I could move on the screen at 60fps... I was truly impressed. I've been using this approach for the last 30 years I guess ;-) We're a long way from moving a few hundred pixels on a 16 bit CPU per frame... greybeard out
- giancarlostoro 3y agoI always do a web project because it typically shows you language features that you wont see in "Hello World". It also shows me what the database drivers look like, if its painful to setup, and all that fun stuff.
- mamcx 3y agoI do the same, but different kinds of projects exercise different stacks. A web project does not prepare you for a bad UI history, for example...
- canadianfella 3y ago[dead]
- JoeyJoJoJr 3y agoI also created a performance test with Ebitengine, like I have done for many 2d engines/rendering libraries in the past. Typically I like to test performance with the web/WASM target. More often than not, even just a few rotating sprites will result in some dropped frames. I was extremely surprised at just how insanely smooth Ebitengine performed. For my purposes it was the second most performant engine/rendering library, second only to Kha. Being new to Go I was also blown away how simple it was to just copy memory around and create Braid-like time travel, as well as the exceptionally simple build process. Rust and Bevy get a lot of mentions on Hacker News, but I think Go and Ebitengine will be my next choice to build my next game.