C++

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

A practical guide to linker section ordering

Nick Clifton

Learn how to use a linker's section ordering feature to experiment with the layout of code and data in memory, without the need to write full linker scripts.

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

New C++ features in GCC 14

Marek Polacek

Discover new features and enhancements in the C++ front end in GCC 14, the next major version of the GNU Compiler Collection.

Lesson Thumbnail
Lesson

GCC Toolset on Red Hat Enterprise Linux UBI 9

Nagesh Rathod

In this lab, you will perform the installation of the GNU Compiler Collection 12 from the Red Hat Developer Toolset and build a simple C++ Hello World application.

15 minutes |
Featured image for Best of Linux 2023 that shows a computing setup.
Article

Our top Linux articles for developers in 2023

Colleen Lobner

Check out the top 10 Linux articles we published for developers in 2023, covering new features in Red Hat Enterprise Linux, containers, GCC 13, and more.

A code editor with four icons symbolizing DevOps, developers, a gear, and a cluster.
Article

Go for C++ developers: A beginner's guide

Stan Cox

This introduction to the Go programming language for C++ developers examines primary differences in development and program-building environments.

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

Get an overview of what's new in GCC 13, the latest GNU Compiler Collection release, including bug fixes and new features in the C++ front end.

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.

Featured image for: Instant replay: Debugging C and C++ programs with rr.
Article

Debugging binaries invoked from scripts with GDB

Kevin Buettner

It's very common on Linux for a binary application to be invoked by a shell script. This article explains how you can debug such binaries using GDB.