C

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.

Article

An introduction to debug events: Learn how to use breakpoints

Keith Seitz

Breakpoints are the most commonly used (and underused) debugging event in a debugger. This article discusses the breakpoint features that GDB offers developers, and shows how to use breakpoints effectively.

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 Red Hat article roundup
Article

Red Hat Developer roundup: Best of April 2022

Red Hat Developer Editorial Team

A trip through Red Hat Developer's content for the month, with articles on GCC 12, Java in containers, Red Hat's SSO technology, and much more.

Featured image for "Get started with clang-tidy in Red Hat Enterprise Linux."
Article

Enforce code consistency with clang-format

Serge Guelton

Get started with clang-format, an LLVM tool that you can use to set and maintain a consistent code style in your open source C and C++ projects.

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.

Featured image for a Linux topic.
Article

What's new in Libabigail 2.0

Dodji Seketeli

Find out what's new in Libabigail 2.0, including updates to the symbol table reader component, ABIXML format, and moving to the Apache 2 license.

Custom image for Red Hat Developer roundup: December 2021.
Article

Red Hat Developer roundup: Best of December 2021

Red Hat Developer Editorial Team

Highlights of December 2021 include two guides for integrating Red Hat OpenShift Streams for Apache Kafka. Read the entire monthly recap for further details.

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

Why glibc 2.34 removed libpthread

Florian Weimer

Consolidation of libraries in the GNU C library, glibc, means more error-free builds, but there are consequences for developers and system administrators.