View Single Post
  #9   (View Single Post)  
Old 9th November 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Quote:
Originally Posted by Oko View Post
Not yet as the optimization was not high on the priority list of the developers. However due to the simplicity of code it is easy to imagine that once completed the PCC compiler can be far more optimized than the GCC monster. In practical terms that means that the code compiled with PCC can be probably twice faster than the one compiled by GCC. It would be funny to see OpenBSD running faster than Linux despite heavy crypting and randomization or even better my PIII ThinkPAD running faster than my boss's DeLL under Windows XP with Intel Core 2 Duo and 4 GB of RAM.
Or how fast my new laptop will run with that kind of potential!!!



Quote:
Originally Posted by Oko View Post
The advantages of PCC are numerous. It is only C compiler unlike GNU
Frankenstein. It is extremely portable. I think that it took only 2 days to
port it to i386. It is clean and simple. Originally PCC was written in late seventies by Stephen C. Johnson who was a professional mathematician and the member of legendary Bell Labs as a main C compiler for ATT Unix on PDP 11(Legendary DEC machine). It is much faster than GCC.
For some reason I thought that it also did C++ compiling. I do think that if it is to be ultimately viable, it will probably eventually have to compile C++ code.



Quote:
Originally Posted by Oko View Post
It takes
about one third of time for PCC to compile the same code as GCC.
You will be actually able to compile Firefox in half an hour.
I'd like to see the benchmarks for compiling kernel and userland.



Quote:
Originally Posted by Oko View Post
As BSD666Fan already mentioned that PCC is only 5MB of code while GCC is about 250MB. I can not wait for my default OpenBSD installation to slim down from 550MB to less than 300MB. If the developers of Dillo2 make serious progress (add OpenSSL support and possibly idiotic Java Script Engine) the only monster that I would have to keep would be TeX. I really wish Donald Knuth have cleaned up Troff instead of cooding Damn Small Linux here is coming damn small OpenBSD:-)
Hmmm...you just gave me a possible idea for my Senior Project next year.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote