A database without dynamic memory allocation
Listen to me now and hear me later:<p>Static allocation doesn’t eliminate use-after-free bugs, it just reduces them.<p>If you have mutable data structures, it’s still always possible to refer to something that used to have one meaning and now means something else. That’s still a use-after-free bug.<p>I was going to say that it’s similar to how GC can still have memory leaks, but in fact it’s the exact same problem: reachability of data that is no longer relevant/correct.