Featured image for Valgrind.

How to use Valgrind to track file descriptors

Mark Wielaard

Valgrind can be used to track file descriptors. Learn how to find file descriptors at various stages of your program and where they were originally opened.

Featured image for: Mostly harmless: An account of pseudo-normal floating point numbers.

How I developed a faster Ruby interpreter

Vladimir Makarov

Learn about 8 optimization techniques for a faster interpreter in Ruby which I developed using a dynamically specialized internal representation (IR).

Featured image for: Value range propagation in GCC with Project Ranger.

GCC's new fortification level: The gains and costs

Siddhesh Poyarekar

Discover the gains and costs of GCC’s enhanced runtime buffer overflow protection. Level 3 _FORTIFY_SOURCE preprocessor macro may detect more buffer overflows, but there’s a cost.

Reliability Nightmares share image(2000x1000)

Reliability Nightmares: The Coloring Book

Máirín Duffy + 4

See site reliability engineering (SRE) principles in action and learn how to improve the operability of your code base with this developer coloring book.

Article Thumbnail

Understanding malloc behavior using Systemtap userspace probes

Siddhesh Poyarekar

The malloc family of functions are critical for almost every serious application program. Its performance characteristics often have a big impact on the performance of applications. Given that the default malloc implementation needs to have consistent performance for all general cases, it makes available a number of tunables that can help developers tweak its behavior to suit their programs. About two years ago I had written an article on the Red Hat Customer Portal that described the high level design...

Article Thumbnail

Red Hat Enterprise Linux 7 toolchain a major performance boost for C/C++ developers

Matt Newsome

Now that Red Hat Enterprise Linux 7 is publicly available, we thought RHEL application developers would be interested in seeing how the new C/C++ toolchain compares to the equivalent in Red Hat Enterprise Linux 6 in terms of raw performance. The numbers are pretty surprising so stay tuned. But first, a little introduction to set the scene. Red Hat Enterprise Linux 6 GCC Red Hat Enterprise Linux 6 shipped in November 2010 with gcc-4.4. As with all major new versions...