Cyclone (programming language): Difference between revisions

Content deleted Content added
Correctly correct first appearance date to the publication of the cyclone paper
Fix typo
Line 95:
}
</source>
Here, <code>strlen</code> bounds itself by the length of the array passed to it, thus not going over the actual length. Each of the kinds of pointer type can be safely cast to each of the others, and arrays and strings are automatically cast to <code>?</code> by the compiler. (Casting from <code>?</code> to <code>*</code> invokes a [[bounds checking|bounds check]], and casting from <code>?</code> to <code>@</code> invokes both a <code>NULL</code> check and a bounds check. Casting from <code>*</code> orto <code>?</code> results in no checks whatsoever; the resulting <code>?</code> pointer has a size of 1.)
 
===Dangling pointers and region analysis===