HNHacker News
TopNewBestAskShowJobs

zhouzhouyi

11 karma · joined April 27, 2024

submissionscomments
zhouzhouyi··on Exploring GNU extensions in the Linux kernel
I am fantastic on Linux kernel and on Clang compiler. This article teaches me what GNU extension characteristic will be when Linux kernel is accepting more modern C11 standard.

For example, Linux kernel use local labels, inline assembly and builtin functions heavily.

This article inspires me to persist studying in Linux kernel and Clang compiler.

zhouzhouyi··on Clang’s -O0 output: branch displacement and size increase
When I debug a program, the first thing I do is to compile with "-O0", very nice to remove "-mrelax-all" as the default for -O0, because "-mrelax-all" increases both VM size and the file size.