@SebAaltonen Curious what your thoughts are re. your ability to copyright aspects of your game (assets, code). My assumption is that you would want copyright defensibility but you don’t have that for AI generated things?
This is the simplest possible Arena allocator struct in C. It's been talked about so much it became a meme (e.g. church of Arena Witnesses), but it's all deserved.
It is very useful on its own, but its main strength is that it can serve as a base of a lot of other, very useful allocators.
- Change subdividing logic a little bit and add a filed for block size and you easily get Pool allocator. That you can later evolve with a cache and turn it into a Slab.
- Add a simple linked "free list" and you get Arena that supports growing without reallocations.
- Add savepoint fields and you get classic Temp allocator with partial rollbacks.
- You can also turn it into a stack
The point is that this simple concept is super scalable and is absolutely worth learning for all programmers. Even if you don't do systems programming.
Star Fox™ on Nintendo Switch 2 is developed in VIPER, our in-house game engine at Velan. It allowed us to bring Fox and his crew back in higher fidelity than ever before, with gameplay running at 60fps and all cinematics rendered in real-time.
@rfleury@ThePrimeagen We do the same for the disassembly for our custom scripting language to verify that new language features/bug fixes don’t inadvertently change code generation in unexpected ways.
Whenever people ask about expected latency in multiplayer games I am often reminded of this awesome table from https://t.co/lyJkT8PJrQ which shows the impact of optical fiber, compared to a vacuum, on the speed of light. Last mile latency left as an exercise for the reader ;)
"I conclude that there are two ways of constructing a
software design: One way is to make it so simple that
there are obviously no deficiencies and the other way is
to make it so complicated that there are no obvious
deficiencies." - C. A. R. Hoare
Psst, hey you. Commere 🤫
We've been quietly working on a new project. It's called Scraprunners, a co-op PVE game on PC, and this is our very casual invitation for you to playtest it in it's pre-alpha state 💌
Wanna try it? Sign up here:
https://t.co/T23VEjnfhf