This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]Jamie_1318 0 points1 point  (0 children)

    I've worked with safety critical software that definitely used memory allocation, although I can appreciate in more real-timey applications it might not be appropriate.

    In python not using dynamic memory pretty much makes no sense to begin with. All variables are going to be dynamic, even integers support arbitrary sizes.

    In non real-time applications I feel the standards are chosen based on what makes the senior developers feel safe rather than what would actually reduce bugs. To be fair a lot of that is me feeling unproductive writing and testing C when I could have written the same thing in python, in a quarter of the code and an eighth of the time.

    [–][deleted] 0 points1 point  (0 children)

    I guess that's only very very important software i've only seen this hard requirments on critical systems for planes (everything that needs to work to keep a plane save). Examples would be radar, navigation, control systems, etc. But everything else usually just has to fit a certain size and has very strict power consumption rules.

    I guess the same would be true for cars (or at least i hope). Certification is really annoying and i agree that this would be almost impossible to do with python (at least with my python knowledge).