quotingI just released my first #OoT-inspired data structure: oot_bitset. it's so simple its a single header file in C with a few defines. Yes you heard it right. A datastructure library inspired by an n64 game from the 1998, thanks to the oot decompilation project. Now its documented and available for anyone to use.
note19ek…jxx4
It's almost so obvious in retrospect, but I don't think I've ever seen an implementation like this before. Usually its some complex library that tries to do everything. What if you only need to store less than 4096 flags compactly in a small array? This is the library for you.
Back in this era brutal simplicity was the norm. Sometimes I wish we got back to that.
https://github.com/jb55/oot_bitset
npub1xt…vkk5s on Nostr: this got to hacker news somehow and now they are roasting me saying its not new or ...
this got to hacker news somehow and now they are roasting me saying its not new or interesting. I have been programming for 26 years and have never encountered this pattern. I must be retarded https://news.ycombinator.com/item?id=44467607#44501697