Compilers

Featured image for: SCTP over UDP in the Linux kernel.
Article

Frame pointers: Untangling the unwinding

Guinevere Larsen

Explore how frame pointers can be used to unwind Linux kernel stack traces and examine different ways to obtain a backtrace, along with their pros and cons.

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

New C features in GCC 13

Marek Polacek

The GNU Compiler Collection 13 release implemented a number of interesting features in its C front-end. This article summarizes the most interesting ones.

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

A leaner <iostream> in libstdc++ for GCC 13

Patrick Palka

Learn about an upcoming change in GCC 13's libstdc++ that reduces executable size and improves startup times for C++ programs that use the <iostream> header.

troubleshooting red hat process automation manager featured image
Article

How to contribute to LLVM

Nikita Popov

Interested in contributing to the open source LLVM project? This article walks you through the process.

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

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).

C and C++ logo
Article

How to categorize C programs by behavior

Martin Sebor

Could your perfectly running program blow up someday? Learn different types of behavior in the standard and what helps make a correct C or C++ program.

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

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.

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

New C++ features in GCC 12

Marek Polacek

Version 12 of GCC implements much of the recent C++ standard, allows a number of previously prohibited constructs, and fixes some problematic behaviors.

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

Prevent Trojan Source attacks with GCC 12

David Malcolm

Discover how Red Hat protects GCC 12 code from Trojan Source attacks. Learn how we defend our customers against this recent software vulnerability.