Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Was just wondering when people started using C to write forth languages and not assembly? Date: Tue, 24 May 2016 09:40:53 -0700 Organization: A noiseless patient Spider Lines: 19 Message-ID: <87a8jfh0iy.fsf@jester.gateway.pace.com> References: <622db793-14c4-48e5-a732-686c0b759db5@googlegroups.com> <2016May19.170745@mips.complang.tuwien.ac.at> <2016May20.144448@mips.complang.tuwien.ac.at> <86zirkkge2.fsf@molnjunk.nocrew.org> <573f14dc.154153604@news.eternal-september.org> <874m9pigtp.fsf@jester.gateway.pace.com> <57442028.484729691@news.eternal-september.org> <01121fac-3425-4749-ab1a-d7cec0bb89c6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c5ef8e90944559a2c1f3d45645d0f786"; logging-data="4680"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BfKYBTmOUojvqeST7J95k" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:tSNgo9tgS6k1EQE3qDi4dB3tm20= sha1:75sXkuOT9XjpFgb1VfYGCdJRk18= Xref: csiph.com comp.lang.forth:47484 foxaudioresearch@gmail.com writes: > Out of curiosity, does anybody know how much space these services take when > written in other languages? I should think Forth is able to show well int > that regard. From https://en.wikipedia.org/wiki/LwIP : The focus of the lwIP TCP/IP implementation is to reduce resource usage while still having a full-scale TCP.[3] This makes lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40 kilobytes of code ROM. That 40k includes fewer services than Powernet so the numbers aren't directly comparable. On the other hand, I believe it supports ipv6. If not, the related uip (micro IP) does. Powernet's web page doesn't mention whether Powernet does as well. There are additionally a number of small (50k-ish) TLS stacks written in C. I don't know if one has ever been done in Forth.