Better HN
topnewbestaskshowjobs
Log inSign up

zhouzhouyi

11 karma · joined Apr 27, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.