Real-Time C and malloc

emery at gypsy.UUCP emery at gypsy.UUCP
Tue Jan 28 00:48:00 AEST 1986

Some of the people I've talked to about Ada claim that they cannot afford
Ada's dynamic allocation of objects, because their real-time system has
such limited memory, that dynamic allocation could crash their {missile|

Could some people who've developed real-time systems in C comment on this?

In particular, do you use malloc, and how do you handle strings (malloc or
static allocation)?

I would especially like to hear from anyone who's done a military contract
in C (if there is such a thing...)


			Dave Emery
	      princeton!siemens!emery at

More information about the Comp.lang.c mailing list