4 ms·
Indeed. Even the "obvious" example of the compiler inserting bound checks in the generated code does not work with the well-known method of marking the beginnin
by Koshkin 9y ago
Indeed. Even the "obvious" example of the compiler inserting bound checks in the generated code does not work with the well-known method of marking the beginning of a variable-length memory block at the end of a struct using an array of some fixed size, say, 1 (or even 0).
- deleted 9y ago[deleted]
- ktRolster 9y agoFor that situation, you would need to mark the end of the variable-length memory block at run-time.