The Power of Ten – Rules for Developing Safety Critical Code
1–10 of 155 posts
Re: The Power of Ten – Rules for Developing Safety Critical Code
#2Re: The Power of Ten – Rules for Developing Safety Critical Code
#3They must use pre-allocated string buffers for some of the task's. Though I figured if you're doing a flight controller for a jet fighter or sate-light you don't need a lot of string parsing.
Re: The Power of Ten – Rules for Developing Safety Critical Code
#4Found the rule `There shall be no use of dynamic memory allocation after task initialization.` They must use pre-allocated string buffers for some of the task's. Though I figured if you're doing a flight controller for a jet fighter or sate-light you don't need a lot of string parsing.
Re: The Power of Ten – Rules for Developing Safety Critical Code
#5Re: The Power of Ten – Rules for Developing Safety Critical Code
#6Found the rule `There shall be no use of dynamic memory allocation after task initialization.` They must use pre-allocated string buffers for some of the task's. Though I figured if you're doing a flight controller for a jet fighter or sate-light you don't need a lot of string parsing.
I imagine unmanned space software is similar; there is little need for a text UI on the spacecraft itself.
Re: The Power of Ten – Rules for Developing Safety Critical Code
#7Ok.. I get it that they don't want their C programmers to do that, but do they also mean that this is to "complex" for normal developers to implement in a fault-free manner?
Re: The Power of Ten – Rules for Developing Safety Critical Code
#8Re: The Power of Ten – Rules for Developing Safety Critical Code
#9Found the rule `There shall be no use of dynamic memory allocation after task initialization.` They must use pre-allocated string buffers for some of the task's. Though I figured if you're doing a flight controller for a jet fighter or sate-light you don't need a lot of string parsing.
Everything should be static and deterministic at all times. This is the easiest/only way to ensure you have no resource issues.
You should always (statically) allocate for maximum/worst case.. because you have analysed your worst-case, haven't you?
Re: The Power of Ten – Rules for Developing Safety Critical Code
#10Found the rule `There shall be no use of dynamic memory allocation after task initialization.` They must use pre-allocated string buffers for some of the task's. Though I figured if you're doing a flight controller for a jet fighter or sate-light you don't need a lot of string parsing.