Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #68383

Re: Project review

From scott@slp53.sl.home (Scott Lurndal)
Subject Re: Project review
Newsgroups comp.lang.c++
References (5 earlier) <hWueF.220633$OU6.166322@fx40.iad> <7456e873-4385-4da9-b27d-a8882cffbb8a@googlegroups.com> <7wxeF.391453$AR4.287684@fx39.iad> <gu0gshF9rkjU1@mid.individual.net> <qlfgga$1br$1@dont-email.me>
Message-ID <uwMeF.222282$OU6.82900@fx40.iad> (permalink)
Organization UsenetServer - www.usenetserver.com
Date 2019-09-13 13:07 +0000

Show all headers | View raw


David Brown <david.brown@hesbynett.no> writes:
>On 13/09/2019 05:31, Ian Collins wrote:
>> On 13/09/2019 08:03, Scott Lurndal wrote:
>>> woodbrian77@gmail.com writes:
>>>> On Thursday, September 12, 2019 at 12:06:32 PM UTC-5, Scott Lurndal
>>>> wrote:
>>>>> woodbrian77@gmail.com writes:
>>>>>> On Thursday, September 12, 2019 at 1:10:32 AM UTC-5, =C3=96=C3=B6
>>>>>> Tiib wrot=
>>>>>
>>>>>> I built my software yesterday on Linux 5 with Gcc 9.2 for=20
>>>>>> the first time.  This combo produced the smallest versions=20
>>>>>> of my executables to date.
>>>>>
>>>>> Executable size is a useless metric.  Why do you think it is
>>>>> either useful or interesting?
>>>>
>>>> https://duckduckgo.com/?q=mark+cppnow+vmware&t=h_&ia=videos&iax=videos&iai=vGV5u1nxqd8
>>>>
>>>
>>> If you can't explain it in your own words, fine.  I've no interest
>>> in watching some random video
>> The video is interesting and probably (it's a presentation by Mark Zeren
>> from VmWare) relevant to your work.  He does make a strong case for
>> measuring executable size as a measure of code complexity.  Saying that,
>> it has no relevance to comparative compiler code sizes...
>> 
>
>Scott did not say the video was not interesting or relevant - he said he
>had no interest in watching an unknown video link.  Remember who posted
>that link - /I/ certainly would not bother clicking on it, given Brian's
>history.

That's certainly part of it.   I can also read and absorb text much faster
than plowing through some interminable video presentation.

And in some working enviroments, I don't have the ability to view video.

>
>What Brian should have done is answered Scott's question:
>
>"""
>I think executable size is important because it gives better I-cache hit

The relationship between executable size (presuming that any cruft like
exception tables, debug symbol tables, run-time loader symbol tables, .rodata, .data,
rtti tables, etc. are not considered when calculating executable size) and i-cache hit
rate is minor, if it exists at all.    Far more important is the size
of the text section 'working set' (to borrow from the old VAX days).  There
may be a zillion pages of infrequently used text, which will never get
into the Icache at all during normal program operation.




>
>Personally, I still wouldn't watch the video, because I don't find video
>to be a useful medium for that kind of thing.  But that's just me -
>other people like them.

I'm with you.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Project review woodbrian77@gmail.com - 2019-09-10 20:00 -0700
  Re: Project review Öö Tiib <ootiib@hot.ee> - 2019-09-10 23:38 -0700
    Re: Project review woodbrian77@gmail.com - 2019-09-11 19:44 -0700
      Re: Project review Öö Tiib <ootiib@hot.ee> - 2019-09-11 23:10 -0700
        Re: Project review woodbrian77@gmail.com - 2019-09-12 09:36 -0700
          Re: Project review scott@slp53.sl.home (Scott Lurndal) - 2019-09-12 17:06 +0000
            Re: Project review woodbrian77@gmail.com - 2019-09-12 10:53 -0700
              Re: Project review scott@slp53.sl.home (Scott Lurndal) - 2019-09-12 20:03 +0000
                Re: Project review "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2019-09-12 16:14 -0400
                Re: Project review Ian Collins <ian-news@hotmail.com> - 2019-09-13 15:31 +1200
                Re: Project review David Brown <david.brown@hesbynett.no> - 2019-09-13 09:29 +0200
                Re: Project review Ian Collins <ian-news@hotmail.com> - 2019-09-13 19:45 +1200
                Re: Project review David Brown <david.brown@hesbynett.no> - 2019-09-13 10:22 +0200
                Re: Project review scott@slp53.sl.home (Scott Lurndal) - 2019-09-13 13:07 +0000
                Re: Project review David Brown <david.brown@hesbynett.no> - 2019-09-13 15:30 +0200
                Re: Project review Mr Flibble <flibble@i42.removethisbit.co.uk> - 2019-09-13 14:18 +0100
                Re: Project review woodbrian77@gmail.com - 2019-09-13 07:32 -0700
                Re: Project review David Brown <david.brown@hesbynett.no> - 2019-09-14 13:34 +0200
          Re: Project review Öö Tiib <ootiib@hot.ee> - 2019-09-12 23:28 -0700
            Re: Project review woodbrian77@gmail.com - 2019-09-13 21:21 -0700
  Re: Project review Mr Flibble <flibble@i42.removethisbit.co.uk> - 2019-09-11 15:49 +0100
    Re: Project review rick.c.hodgin@gmail.com - 2019-09-11 08:08 -0700
      Re: Project review Mr Flibble <flibble@i42.removethisbit.co.uk> - 2019-09-11 17:17 +0100
  Re: Project review Szyk Cech <szykcech@spoko.pl> - 2019-09-12 20:22 +0200
    Re: Project review Szyk Cech <szykcech@spoko.pl> - 2019-09-12 20:24 +0200
    Re: Project review woodbrian77@gmail.com - 2019-09-12 17:53 -0700

csiph-web