Advertisement
Promo

Application development Toolkit

GCC 4.0 boosts code performance

Ingrid Marson Builder UK

Published: 26 Apr 2005 13:05 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

The latest version of the GNU Compiler Collection includes a new optimisation framework that will enhance the performance of programs compiled using the open source compiler.

GCC was originally written by the Free Software Foundation (FSF) founder Richard Stallman and is the most popular compiler used by free-software developers. Its support for a wide range of programming languages and target platforms has made it a key part of the FSF's efforts to produce as much free software as possible. It's also the compiler used to create the Linux kernel

GCC 4.0, which was released last week, includes improvements to its optimiser, which apply to all languages and target platforms. These include dead code elimination, which removes code that can never be executed, and autovectorisation of loops on platforms that support vector processing. It also includes language-specific improvements, such as a performance enhancement in the compiler front-end for the C++ programming language.

"When compiling without optimisations, the C++ front-end is much faster than in any previous versions of GCC," stated the GCC 4.0 release notes. "Independent testers have measured speed-ups up to 25 percent in real-world production code, compared to the 3.4 family (which was already the fastest version to date). Upgrading from older versions might show even bigger improvements."

GCC supports various languages including C, C++, Java, Fortran and Pascal. It can generate software for processors including x86 models such as Pentium and Opteron, Sun's Sparc, HP's PA-RISC, IBM's Power and mainframe processors and Intel's Itanium.

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
35 out of 64 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:







Video icon

Video

Discussions

Tezzer Tezzer

Nice to see but...

Saturday 26 December 2009, 10:28 AM

5 comments
NoThomas NoThomas

Sure I can

Saturday 26 December 2009, 2:01 AM

11 comments
NoThomas NoThomas

It does not need clarification...

Saturday 26 December 2009, 1:30 AM

10 comments

Win a Creative Zen X-Fi2 player and accessories

Win a Creative Zen X-Fi2 player and accessories

What is ZDNet UK's usual tagline?

Competition closes - 14 Jan 2010


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters