🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #205

Re: OLinuXino, a serious Rasberry Pi competitor?

#205
From: Jan Panteltje
Date: Tue, 13 Mar 2012 10:23
38 lines
4184 bytes
On a sunny day (Mon, 12 Mar 2012 13:38:52 -0700) it
 happened Joel Koltner
<zapwire-usenet@yahoo.com> wrote in
<w9t7r.176723$rV3.110521@en-nntp-11.dc1.easynews.com>:

>There must be some smaller C/C++ compilers left in the world besides 
>just gcc, right?  I mean, there were C (not C++) compilers back in the 
>days of 8-bit PCs with 64kB of memory, and while, yeah, they weren't as 
>fancy as the ones we have today, they did work and produced 
>reasonably-sized executables that ran a lot faster than BASIC.
>
>I've got to believe that a decent C compiler that requires no more 1MB 
>while compiling reasonably-sized programs would be entirely viable.

I used Software Toolworks C80 C compiler on a z80 CP/M system.
Not only did it fit on a 250 kB floppy,
it it took little space to compile complicated code in less than 48 kB (kilo byte) RAM.

I still have some of those old sources, but the 5 1/4 inch floppy with that compiler
no longer wanted to load (read error).

I have often wondered why all the gcc crap gets so big.
And that C80 compiler had a floating point lib too.
Mind you, integer was 16 bits...
I leaned to write code in a minimal C set, since those
days my programs are very portable...
And it has in line asm too....

Much of the extension to the C language is perhaps to cater for those who
cannot program or have amnesia, or even worse altzheimer,

In those day you still had to worry about not using too many spaces and linefeeds
else the RAM would fill up too fast.
Unfortunately the modern script kiddies seem to think spaces are still expensive,
and write C without those whenever possible.
#include<stdlib.h>                                                                                                                                                                                          
#include<stdio.h>                                                                                                                                                                                           
main(int argc,char**argv){int i,many=10,half_a_bit=2;for(i=0;i<many;i+=half_a_bit){fprintf(stderr,"spaces%ccost%cmoney%c",32,32,10);}exit(1);
Technical Details
Message-ID: <jjn77d$v5i$1@news.albasani.net>
Path: arc1-ca.pugleaf.net!t13ni131982bkb.0!nntp.google.com!news1.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.albasani.net!.POSTED!not-for-mail
References: <9rq432FqvmU1@mid.individual.net> <98-dnbWerIRq98XSnZ2dnUVZ7sudnZ2d@lyse.net> <ufhaxxr0wb.fsf@brushtail.apana.org.au> <9bdnl7lv7m9mssntf5osbn8s1ovld1po7c@4ax.com> <ufd38kdnvi.fsf@brushtail.apana.org.au> <v4CdnZB3684JLcDSnZ2dnUVZ7oqdnZ2d@lyse.net> <w9t7r.176723$rV3.110521@en-nntp-11.dc1.easynews.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 103407,7c408bf4daf64026
X-Google-NewGroupId: yes
X-Google-Attributes: gida5a6238865,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.204.150.90 with SMTP id x26mr1221572bkv.6.1331634224109;
        Tue, 13 Mar 2012 03:23:44 -0700 (PDT)
Path: arc1-ca.pugleaf.net!t13ni131982bkb.0!nntp.google.com!news1.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.albasani.net!.POSTED!not-for-mail
From: Jan Panteltje <pNaonStpealmtje@yahoo.com>
Newsgroups: sci.electronics.design,aus.electronics,comp.arch.embedded
Subject: Re: OLinuXino, a serious Rasberry Pi competitor?
Date: Tue, 13 Mar 2012 10:23:39 GMT
Organization: albasani.net
Lines: 38
Message-ID: <jjn77d$v5i$1@news.albasani.net>
References: <9rq432FqvmU1@mid.individual.net> <98-dnbWerIRq98XSnZ2dnUVZ7sudnZ2d@lyse.net> <ufhaxxr0wb.fsf@brushtail.apana.org.au> <9bdnl7lv7m9mssntf5osbn8s1ovld1po7c@4ax.com> <ufd38kdnvi.fsf@brushtail.apana.org.au> <v4CdnZB3684JLcDSnZ2dnUVZ7oqdnZ2d@lyse.net> <w9t7r.176723$rV3.110521@en-nntp-11.dc1.easynews.com>
Mime-Version: 1.0
X-Trace: news.albasani.net vOmqZOx5UOghQq3IYyhRban2kPC7fg3IOZn58wcY0U5XS+Dr/DhMfmhxQ9kfSArYnyEudahYaO0dyWrkia6Q690M4pSb42XLb325tGfb6UcujAFwtZvzEnGIzFPEAIfV
NNTP-Posting-Date: Tue, 13 Mar 2012 10:23:43 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="uYTiqI97R5M8Lyfog94xDkmiUparsms53WXE+QFErq/lZcirA5wt8pI3FDFDD5ppH1WhWheXBBM4YEUaMP9Lt4hVoZ4gWFeI3BFNPjMPHESZjc5z1OfELeo6GrIWRWaa"; mail-complaints-to="abuse@albasani.net"
User-Agent: NewsFleX-1.5.7.4 (Linux-2.6.37.6)
Cancel-Lock: sha1:fG5JQmuMUxmG+HOso0sfcnXSIVE=
X-Newsreader-location: NewsFleX-1.5.7.4 (c) 'LIGHTSPEED' off line news reader for the Linux platform
 NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit