I agree entirely - but it is a good measure of "big". You are the one
keen to claim that mainframe programs are so much bigger than anything else.
> Lines of code does not a good way to predict compilation time.
Lines of code /is/ a good way to predict compilation time, but it is not
the only factor. In particular, lines of code /compiled/ is more
important than lines of code in total in the sources. And some code is
more complex than others, and of course there are many other factors.
You might have noticed that I have already mentioned this.
> Lines of code is a measurement used by those who don't know better.
It is a measurement used by many people, and perhaps /misused/ by people
who don't know better. But since you are keen on the "size" of code
bases, and keen to demonstrate that "many" mainframe programs are "much
bigger" than - for example - the entire Debian source base, then lines
of code is an excellent measurement. We could also use total disk
space, which might be more accurate (especially for answering the
question "how much ram do we need to hold it all in memory") if we had
numbers conveniently available. However, the disk usage given in my
reference below also includes non-compilable files, such as graphics
resources.
>
> And no, not even Debian has over 1,100,000,000 lines of COMPILEABLE CODE.
My reference, which I really hope you will view as reliable and
accurate, is:
<
https://sources.debian.net/stats/>
Sid, the testing/development repository, currently has 1,139,708,723
lines of source code. That covers a number of different programming
languages, and code in Perl, Python, or Bash will not be compilable.
You can see figures further down that page detailing the breakdown by
language - approximately 445 MLoC of C, and 290 MLoC of C++.
But I am not fussy about the exact numbers - I am just giving "Debian"
as an example project with an enormous code base, for which figures are
openly available. And I would like references or links showing some
indication for your claim that /many/ mainframe /programs/ are /much/
bigger than 1.1 GLoC. Note that your claim was for "one or a few huge
programs" - unlike the Debian code, which is obviously spread across a
great many programs.
>
>>
>>>> The disk speed is pretty much totally irrelevant in large compile times
>>>> (unless you are using a poor OS that has slow file access and bad
>>>> caching systems, like Windows - though Win8 is rumoured to be better).
>>>>
>>>
>>> Wrong again. I/O speed is quite critical. But you think Debian is the
>>> end-all of programs. It isn't.
>>
>> I just know how compilers work, and what their tasks are.
>>
>
> You only THINK you know how compilers work. That is obvious. You need
> to look at how the hardware works, also.
I also know how a lot of hardware works. I don't know details of
mainframes, but I have a fair understanding of the principles. (The
details are hard, but the principles are not.) But since I know that
during compilation, I/O speed is not critical, it does not matter how
fast the I/O speed is on your build machine as long as it can get files
on and off the disk fast enough to keep the processors busy.
When someone qualified and believable tells me something about code
sizes in the mainframe world, I'll believe them. But your claims, with
the total lack of any kind of links or references, are not worth the
pixels they are written on.
> Although I suspect "Hello World" is a "big program" for you.
>
>> And because it is a popular program and an open source program, mostly
>> in C++, it is relatively easy to find information about compilation
>> resources.
>>
>
> So?
>
>>
>>>
>>>>>
>>>>> Sure, you can do it, when you are compiling the 100 line programs you
>>>>> write. But you have no idea what it takes to compile huge programs
>>>>> such
>>>>> as the one I described.
>>>>
>>>> You haven't described any programs, huge or otherwise.
>>>>
>>>> (It is true that for the programs I write, compile times are rarely an
>>>> issue - in most cases, the code is written by a single person, for a
>>>> single purpose on a small embedded system. But sometimes I also have to
>>>> compile big code bases for other systems.)
>>>>
>>>
>>> I am not going to name any names because they are (or have been) my
>>> clients. And those are none of your business.
>>
>> Ah, we should just take your word for it, since you have such a
>> fantastic reputation for honesty.
>>
>
> No, I'm not going to give you names of my clients. And I really don't
> care what an idiot like you thinks about my reputation.
>
It is quite obvious that you don't care what /anyone/ thinks of your
reputation here in Usenet.
>>>
>>> And if you want large code base - I know of at least one which has
>>> several hundred programmers working for 3 years just on one version.
>>
>> Programmer man-years does not equate to code size. There are projects
>> where people write a thousand lines a day, and projects where people
>> write an average of a few lines a week.
>>
>
> And in the mainframe world, someone only writing a few lines a week
> would not be employed for long. Maybe that's why you can't find a job.
>
People who write a few lines of code a week do not work on mainframes.
Well, I am glad you find these threads funny. However, I think your
entertainment value as the class clown is running low. Poking you and
watching the ensuing nonsense tumble out is fun for a while, but we all
reach a point where it gets too silly. It is important, I think, that
we make it clear that your posts and claims are mostly completely
spurious and have no backing in reality, in case any innocent viewers of
these threads (now or in the future) mistakenly believe you. But I
think that is already achieved. You have insulted and ridiculed just
about every single person who has disagreed with you in c.l.c and
c.l.c++, though others have presented references, quotations from
standards, logical reasoning, sample code, etc., clearly demonstrating
that you manage to get just about everything wrong.
I wonder why you ever bother posting in these newsgroups at all. Did
you get kicked out of your mythical private discussion groups of "real"
programmers?