Contributed by jason on from the pretty-cool-compiler dept.
Michael Dexter writes in with news about the PCC project:
“Thanks to the hard work of Anders "Ragge" Magnusson and his team plus the help of donors from around the world, the Portable C Compiler is now ready for final beta testing in preparation for its 1.0 release.
"This is the beta of the first release of pcc since almost forever."
Please download it, put it through its paces and report any bugs you encounter along the way!
”
(Comments are closed)
By Peter J. Philipp (pjp) pjp@solarscale.de on http://centroid.eu
Comments
By Thomas Pfaff (tpfaff) on http://www.tp76.info
Maybe you missed that part. I can't blame you. It was pretty well hidden in the quoted text.
By phessler (phessler) on http://theapt.org
you guess that pcc binaries are slower, because gcc has more NOPs in it? did you try, I dunno, actually running a pcc binary?
Comments
By Peter J. Philipp (pjp) on http://centroid.eu
Aside from the NOPs the pcc binary is larger, even when stripped. Theoretically then there should be more instructions in the binary, that's all I'm getting at.
-peter
Comments
By Daniel Gracia (paladdin) on http://www.alpuntodesal.com
>
> Aside from the NOPs the pcc binary is larger, even when stripped. Theoretically then there should be more instructions in the binary, that's all I'm getting at.
>
> -peter
I catch your point, but you should consider that every single i386/amd64 instruction can take an indeterminate number of processor cycles, so guessing a program speed in a CISC processor as a function of the number of instructions it has is a poor approach.
Not saying pcc is faster/slower than gcc. In fact, aside all of this size vs speed nonsense conversation, I would expect pcc being a little slower as it's in beta and doesn't have a so fancy optimizer as gcc -and very proud of it, that bunch of hacks!-.
By Otto Moerbeek (otto) on http://www.drijf.net
>
> Aside from the NOPs the pcc binary is larger, even when stripped. Theoretically then there should be more instructions in the binary, that's all I'm getting at.
>
> -peter
More instructions does not imply slower or faster in any way. A lot of instructions in a program are executed multiple times, and others not at all.
By Andy Crichton (andyc) on
Comments
By Janne Johansson (jj) on http://www.inet6.se
Yes, pcc has none, or at least less of these kinds of features. And I'm sure it will produce worse code in most cases, but this is all besides the point right now. If it allows you to "make build" in 30 minutes instead of 60, it wont matter if /bin/ls got 1% bigger or slower, it means devs can run "make build" twice as often and test more code in the same day.
Seeing as the number of half-supported platforms exploded in the last few months on the pcc mail list, it must be easy to port this to other architectures, which also it promising.
Comments
By Venture37 (venture37) on http://www.geeklan.co.uk
>
> Seeing as the number of half-supported platforms exploded in the last few months on the pcc mail list, it must be easy to port this to other architectures, which also it promising.
great reply :)