Comment None of the baggage of C? (Score 1, Interesting) 636
Many sites are reporting Swift as having "none of the baggage of C."
However, they also report that "Swift code can still be mixed with standard C and Objective C code in the same project."
Seems to me that if you can call C routines, C can happily malloc() and free() the heap and leave stale pointers into freed heap. Likewise, C can happily point into the stack and leave pointers into stale stack frames, and point past the end of arrays, etc.. I don't think they can get rid of the "baggage of C" withoud building all kinds of performance killiing safety checks into the C code. If I'm wrong about this, please don't hesitate to let me know!