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


Groups > comp.lang.c > #142501

Re: clang

Newsgroups comp.lang.c
From Melzzzzz <Melzzzzz@zzzzz.com>
Subject Re: clang
References <q77osi$1id$1@dont-email.me> <q7e0o7$ukb$1@dont-email.me> <7ewmE.616366$ao.567848@fx32.am4> <x1xmE.803924$RBa.513486@fx15.am4>
Message-ID <dixmE.418991$Qs7.93053@fx09.am4> (permalink)
Organization usenet-news.net
Date 2019-03-26 22:00 +0000

Show all headers | View raw


On 2019-03-26, Bart <bc@freeuk.com> wrote:
> On 26/03/2019 20:48, Melzzzzz wrote:
>> On 2019-03-26, jacobnavia <jacob@jacob.remcomp.fr> wrote:
>>> Le 24/03/2019 à 12:15, jacobnavia a écrit :
>>>> It is the slowest compiler known
>>>>
>>>>      For instance, to compile the source code of lcc (around 2.5MB of C)
>>>> we have compilation times of:
>>>>      1 lcc 8.7 sec (with optimizations on)
>>>>      2 gcc 38 sec (without optimization)
>>>>      3 clang 5 minutes (without any optimizations).
>>>>
>>>> WITH optimizations the landscape looks the same:
>>>>      1 lcc: 8.7 sec
>>>>      2 gcc 2minutes 48s
>>>>      3 clang: 26 minutes
>>>
>>> That was version 5
>>>
>>> I upgraded to version 9.0, and waited 32 hours and 41 minutes for the
>>> build of clang to finish. CPU Quad core ARM64, 4GB RAM, SSD of 1 TB,
>>> linux OS.
>> 
>> Hm, on my Ryzen 2700X it compiles in half of hour?
>
> For a laugh, I write a batch file so that, every time it invoked my C 
> compiler, it compiled it from scratch (ie. compiler, assembler, linker 
> from sources to 0.5MB exe).
>
> It added 0.2 seconds to the build times of any program on my PC.
>
> On my crappy laptop (1.6GHz Celeron I think that uses an SD card as hard 
> drive, the cheapest one in the shop), it adds 0.4 seconds. All using a 
> single core of course, and all code unoptimised as well.
>
> These big compilers really are a different world.

llvm/clang has tremendeous ammount of commits.
>


-- 
press any key to continue or any other to quit...

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


Thread

clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-24 12:15 +0100
  Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-24 12:56 +0000
    Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-24 14:11 +0100
      Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-24 13:24 +0000
        Re: clang David Brown <david.brown@hesbynett.no> - 2019-03-24 15:47 +0100
      Re: clang Bart <bc@freeuk.com> - 2019-03-24 13:42 +0000
        Re: clang Noob <root@127.0.0.1> - 2019-04-10 21:07 +0200
  Re: clang already5chosen@yahoo.com - 2019-03-24 06:24 -0700
    Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-24 13:38 +0000
  Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-26 21:06 +0100
    Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-26 20:48 +0000
      Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-26 21:50 +0100
        Re: clang Ian Collins <ian-news@hotmail.com> - 2019-03-27 09:52 +1300
          Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-26 21:58 +0100
            Re: clang already5chosen@yahoo.com - 2019-03-27 06:40 -0700
              Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-27 17:31 +0100
          Re: clang already5chosen@yahoo.com - 2019-03-27 06:29 -0700
            Re: clang Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-27 14:57 +0000
              Re: clang already5chosen@yahoo.com - 2019-03-27 08:16 -0700
                Re: clang scott@slp53.sl.home (Scott Lurndal) - 2019-03-27 15:47 +0000
                Re: clang Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-27 18:29 +0000
                Re: clang already5chosen@yahoo.com - 2019-03-27 11:45 -0700
                Re: clang Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-27 21:37 +0000
                Re: clang already5chosen@yahoo.com - 2019-03-28 05:50 -0700
                Re: clang already5chosen@yahoo.com - 2019-03-28 06:01 -0700
                Re: clang scott@slp53.sl.home (Scott Lurndal) - 2019-03-28 15:21 +0000
                Re: clang Ian Collins <ian-news@hotmail.com> - 2019-03-28 07:52 +1300
                Re: clang David Brown <david.brown@hesbynett.no> - 2019-03-27 22:45 +0100
                Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-28 00:12 +0100
      Re: clang scott@slp53.sl.home (Scott Lurndal) - 2019-03-26 20:55 +0000
        Re: clang jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-26 22:05 +0100
          Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-26 21:59 +0000
      Re: clang Bart <bc@freeuk.com> - 2019-03-26 21:42 +0000
        Re: clang Melzzzzz <Melzzzzz@zzzzz.com> - 2019-03-26 22:00 +0000
          Re: clang Bart <bc@freeuk.com> - 2019-03-27 14:32 +0000
    Re: clang already5chosen@yahoo.com - 2019-03-27 06:54 -0700
  Re: clang: release build jacobnavia <jacob@jacob.remcomp.fr> - 2019-03-28 23:31 +0100
  Re: clang Mehdi Amini <atorrses@gmail.com> - 2019-04-07 19:38 +0430

csiph-web