Comment on NASA JPL C Coding Standard [pdf]parentComments−stephencanon14yIt's a bit strong to say that C doesn't have TCO. The language doesn't require TCO, but compilers are free to implement it (and indeed many of them do).−silentbicycle14yBut you can't depend on it. Since TCO changes the fundamental order of growth for space, it makes a huge difference.Embedded C compilers typically do not have TCO.
Comments
It's a bit strong to say that C doesn't have TCO. The language doesn't require TCO, but compilers are free to implement it (and indeed many of them do).
But you can't depend on it. Since TCO changes the fundamental order of growth for space, it makes a huge difference.
Embedded C compilers typically do not have TCO.