home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,572 of 4,255   
   mutazilah@gmail.com to anti...@math.uni.wroc.pl   
   Re: ecosystem   
   09 Dec 22 19:05:13   
   
   From: muta...@gmail.com   
      
   On Thursday, December 1, 2022 at 12:46:25 PM UTC+8, anti...@math.uni.wroc.pl   
   wrote:   
      
   > In compilers hard part is optimization. When I compare gcc-4.8   
   > to gcc-12.0 it seems that code produced by gcc-12.0 is probaby   
   > about 10% more efficient than code from gcc-4.8. But C compiler   
   > in gcc-12.0 is twice as large as C compiler in gcc-4.8. And   
   > looking back, gcc-4.8 is much bigger than gcc-1.42 (IIRC C   
   > compiler in gcc-1.42 was of order one megabyte in size).   
   > gcc-12.0 produces more efficient code than gcc-1.42, but   
   > probably no more than 2 times more efficient. Certainly,   
   > code from gcc-12.0 is not 26 time more efficient than code   
   > from gcc-1.42 (which would be the case if speed of object   
   > code were simply proportional to compiler size). And in   
   > turn gcc-1.42 generates more efficient code than simpler   
   > compilers.   
      
   Someone said you can get 80% of the performance of a   
   modern compiler with a handful of "easy" optimizations,   
   and gave these as references "the dragon book" and   
   Frances Allen's "Seven Optimising Transformations".   
      
   Any comment?   
      
   Also, we have a new contender:   
      
   https://github.com/wxwisiasdf/cc23/tree/master   
      
   5000 lines just for the compiler (relying on pdcc as   
   the independent preprocessor), must be pretty close   
   to C90 now. Currently in very active development.   
      
   Both 80386 and i370. :-)   
      
   And he said he would do 8086 huge memory model too!   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca