6 ms·
Ada's ranges are runtime checked right? How would you do this in a compiler?
by sfkdjf9j3j 7y ago
Ada's ranges are runtime checked right? How would you do this in a compiler?
- olliej 7y agoAda checks all arithmetic - the compiler can elide bounds checks if it can statically verify that no out of range error can happen, but if it can’t verify statically you get bounds checks at runtime.
- gameswithgo 7y agoa little of both iirc