News for hackers. Stuff that matters.
Re:The Power of Ten – Rules for Developing Safety Critical Code by nabla9 on Thursday July 14, 2016 @11:41AM (#12094762)
There are no dynamically sized arrays. All memory is allocated at startup and that's it.

This is the reason why you see power of two limits in safety critical software. For example "radar is able to track up to 256 simultaneous objects".

    for (i = 0; i < 256: i++) {
       if (NULL != object[i]) {
           // do stuff
       }
    }

There are no comments on this comment yet.