mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob Landley <rob@landley.net>
To: musl@lists.openwall.com
Subject: Re: NULL
Date: Sun, 13 Jan 2013 10:29:39 -0600	[thread overview]
Message-ID: <1358094579.32505.15@driftwood> (raw)
In-Reply-To: <50F2CB0F.4060307@gentoo.org> (from lu_zero@gentoo.org on Sun Jan 13 08:56:15 2013)

On 01/13/2013 08:56:15 AM, Luca Barbato wrote:
> On 13/01/13 15:29, Rob Landley wrote:
> > So fond of gcc. The LFS guys are currently discussing the 4.7.2  
> release
> > or whatever it is that just came out and requires a C++ compiler on  
> the
> > host. (I'd link to the archives but their website is half-migrated  
> right
> > now.)
> 
> It is known, if the people working on that are confident that having  
> C++
> as core language is what boosted clang instead of having a clear
> separation of layers, good reusability and a clean API so be it.

No, gcc was a hairball because Richard Stallman explicitly wanted it to  
be (for example see https://lwn.net/Articles/259157/), he feared  
allowing the pieces to be cleanly separated because then you could  
decouple them and use a proprietary back-end with the gcc front-end,  
and vice versa. (Which happened anyway, it's how llvm was developed in  
the first place, the clang front-end was a replacement for the gcc  
front end in llvm/gcc.)

> (Meanwhile gccgo and gold still has a good chunk of neat shortcomings
> making a good point that the language isn't a magic bullet)

When your code is a pile of scar tissue, starting over from scratch  
provides massive initial progress, regardless of implementation details  
of the new one. Of course code is often a mass of scar tissue for a  
_reason_:

   http://www.joelonsoftware.com/articles/fog0000000069.html

Then again, Spolsky isn't particularly versed in open source  
development. Wasting huge quantities of effort that just gets thrown  
away is _how_ we defeated brooks' law. We scale the same way genetic  
algorithms do: try everything with no coordination and then do an  
editorial pass on the slush pile to fight off Sturgeon's law. Rinse,  
repeat. So his horror at wasted effort is misplaced for us. The insight  
that a mature code base enbodies a bunch of hidden knowledge in the  
pattern of scars is correct, but that just means when we do the next  
one we need to update the standards so they _do_ properly document the  
current requirements and rationale. And have a massive corpus of real  
world test data to run through it, plus be prepared to receive  
<strike>endless complaints</strike> feedback from an army of testers  
who will break it in ingenous ways.

> And we are discussing on how bend a C runtime to fit the C++ runtime.
> 
> I do really hope Go will win more people and useful code and  
> integration
> will come up to make C++ less important.

C is a good language. Go doesn't need to replace C, no matter how much  
C++ FUDs it.

C++ containing C and calling itself a good language is about as  
relevant as a mud pie containing a glass of water and calling itself a  
good beverage. (If you think all additions are improvements explain CSS  
and region locking in DVDs.)

That said, people wrote useful programs in Cobol and ADA for many  
years, and even after they sober up they'll still need legacy support  
to run the results.

Rob

  reply	other threads:[~2013-01-13 16:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 11:02 NULL John Spencer
2013-01-09 12:18 ` NULL Szabolcs Nagy
2013-01-09 13:36   ` NULL John Spencer
2013-01-12  6:32     ` NULL Rob Landley
2013-01-12  6:46       ` NULL Rich Felker
2013-01-12  7:15         ` NULL Luca Barbato
2013-01-12 13:33           ` NULL Rich Felker
2013-01-12 11:39       ` NULL Jens Staal
2013-01-09 13:09 ` NULL croco
2013-01-09 13:47   ` NULL John Spencer
2013-01-09 14:49     ` NULL croco
2013-01-09 14:42 ` NULL Luca Barbato
2013-01-09 14:47   ` NULL Rich Felker
2013-01-09 15:03     ` NULL Luca Barbato
2013-01-09 15:18     ` NULL John Spencer
2013-01-09 15:36       ` NULL Rich Felker
2013-01-09 21:11         ` NULL Rob
2013-01-09 21:53           ` NULL Szabolcs Nagy
2013-01-09 22:17             ` NULL Rob
2013-01-09 23:42         ` NULL Szabolcs Nagy
2013-01-12  6:56         ` NULL Rob Landley
2013-01-12  7:07           ` NULL Bobby Bingham
2013-01-12 13:31           ` NULL Rich Felker
2013-01-13 14:29             ` NULL Rob Landley
2013-01-13 14:56               ` NULL Luca Barbato
2013-01-13 16:29                 ` Rob Landley [this message]
2013-01-13 17:14                   ` NULL Luca Barbato
2013-01-13 15:23               ` NULL Strake
2013-01-13 17:17                 ` NULL Luca Barbato
2013-01-13 17:47               ` NULL Szabolcs Nagy
2013-01-13 19:46                 ` NULL Rob Landley
2013-01-14  6:11                   ` NULL Rich Felker
2013-01-14  8:45                     ` musl as a framework to test applications' compatibility with POSIX (was: NULL) Vasily Kulikov
2013-01-14 14:03                       ` Rich Felker
2013-01-14 14:30                         ` Vasily Kulikov
2013-01-14 15:02                           ` Szabolcs Nagy
2013-01-14 15:14                           ` Rich Felker
2013-01-14 13:19                     ` NULL Rob Landley
2013-01-12  5:56 ` NULL Rob Landley
2013-01-12  6:42   ` NULL Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358094579.32505.15@driftwood \
    --to=rob@landley.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).