Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED.2601:648:8103:14a1::6c6d!not-for-mail From: Paul Rubin Newsgroups: comp.arch.embedded Subject: Re: Embedded platforms for beginners? Date: Tue, 05 Sep 2017 19:35:26 -0700 Organization: A noiseless patient Spider Message-ID: <87ingwlfkh.fsf@nightsong.com> References: <59a8f969$0$2474$b1db1813$814165ff@news.astraweb.com> <87a82co9uz.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader.eternal-september.org; posting-host="2601:648:8103:14a1::6c6d"; logging-data="11591"; mail-complaints-to="abuse@eternal-september.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:pDbOLu1OzHOqLlao9wimI/Mb9SY= Xref: csiph.com comp.arch.embedded:27255 Phil Hobbs writes: > I've never felt the need for GC in an embedded system myself.... > There are probably situations where it's helpful, but I'm an > instruments builder, and the MCU and memory are very rarely the cost > driver. I suspect that type of application uses mostly static memory, so GC wouldn't help that much even if it's available and you trust it. It's invaluable when you have lots of dynamically allocated objects moving around through the system. And yes, programs like that can have very high reliability, such as with phone switches programmed in Erlang with 40 year uptimes.