Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Thu, 10 Nov 2016 00:50:25 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Compiler design in C? References: <0915fef9-bb57-48b7-b98a-342f0e5ee39f@googlegroups.com> <87shr14n5b.fsf@gmail.com> <87r36k1l4w.fsf@gmail.com> Date: Thu, 10 Nov 2016 06:50:25 +0000 Message-ID: <874m3fzv4e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:KeE9Kk+A8VolTHcKrZo2ery2j1c= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 36 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-gJ2sHNlApWJ7+lsBHq3U1X43mYaCeRS3defgwKB+whgqDBL93olhNRaqpldhWcrAkzo/ihAevRWBjMr!OIVoyLkTvntBv2mrfwRBAHe63ZCNvwfhPWJTFwxhaEYosupJxf5ze22qANeEX1wHVrY6 X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2855 Xref: csiph.com comp.lang.c:96262 jacobnavia writes: > Le 09/11/2016 à 20:57, Gareth Owen a écrit : >> No. Honestly, I don't think C is a sensible implementation language for >> anything but constrained embedded work and hardcore bit-banging these days. > > OK. Nice. You are entitled to your opinion but what is the point of > coming into a C forum to say that? Because I use C to do both those things. > Personally I do not participate much in C++ forums unless I have a > question because my c++ is VERY bad. I don't think C is bad at all. It's extremely good. At the things for which it is extremely good. > I like C because of its simplicity, this unassuming stuff of just > telling the machine what you want it to do. Duff's device is simple, eh? OK. Sure. > Containers and other data structures can be written in C much better > than what I did of course. But my work gives a serious hint to > everybody that the complexity of c++ is not needed. The C committee think your work is not needed at all. They think every C programmer should roll their own containers, which suggests that their belief in what C is for is probably closer to mine than yours. > We can have all the high level abstraction of c++ without any of its > incovenients. Yes, even a primitive method of generics is quite > possible using that old but very powerful machine: The pre-processor. Yes, and I can build a table with butter knife and paper glue. But it will be far more fragile than one built using tools designed for the task.