Skip to content

Comment on NASA JPL C Coding Standard [pdf]parent

Comments

You don't want your space ship flight to be "interesting".

Note that it says "after task initalization". What this really implies is that you must use O(1) heap space, and you should get what you need ahead of time.

Having to deal with out of memory conditions 4 seconds after main engine turn-on is not a fun party. Neither is blocking on malloc() so you can prepare your struct course_adjustment to send to another task.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.