Abbrivation && Concept
- ABI: Application Binary Interface (what is ABI?)
- AVX: Advanced Vector Extensions (instruction set)
- ISA: Instruction Set Architecture
- PLT: Procedure Linkage Table
- CPE: Clock cycles Per Element
- ATT: An Assembly Syntax
- misc: Miscellaneous files
CSAPP
https://github.com/humbornjo/csapp
GDB
Reverie
OS
What is the difference between MOV and LEA?
https://stackoverflow.com/questions/1699748/what-is-the-difference-between-mov-and-lea
Is performance of less/greater better than less/greater or equal
What is a memory fence?
https://stackoverflow.com/questions/286629/what-is-a-memory-fence
Disassembly and Binary Analysis Fundamentals
https://hexterisk.github.io/blog/posts/2020/04/02/disassembly-and-binary-analysis-fundamentals/
How does multithreading utilizes multiple cores?
https://stackoverflow.com/questions/63589801/how-does-multithreading-utilizes-multiple-cores
Why mmap() is faster than sequential IO?
https://stackoverflow.com/questions/9817233/why-mmap-is-faster-than-sequential-io
What does reaping children imply?
https://stackoverflow.com/questions/58885831/what-does-reaping-children-imply
Overhead over switch between process and thread
Definition of "synchronization primitive"
https://stackoverflow.com/questions/8017507/definition-of-synchronization-primitive
What is the first process a typical Linux kernel starts?
https://stackoverflow.com/questions/21612801/what-is-the-first-process-a-typical-linux-kernel-starts
All about MMU
Why does the OS need a page table if the MMU already has one?
What does swap do to Page Table Entries
Conservative garbage collector
https://stackoverflow.com/questions/7629446/conservative-garbage-collector
Unix system file tables
https://stackoverflow.com/questions/14189944/unix-system-file-tables
Which one to use: static variable or heap allocated variable?
Thread local memory
How to implement semaphore?
Implementation of a semaphore in C
C & low-level semaphore implementation
https://gist.github.com/mepcotterell/6f0a779befe388ab822764255e3776ae
Why is malloc() considered a library call and not a system call?
`gprof` under the hood
https://docs-archive.freebsd.org/44doc/psd/18.gprof/paper.pdf
http://gnu.cs.utah.edu/Manuals/gprof-2.9.1/html_mono/gprof.html#SEC25
Is it possible to read another thread’s program counter?
Can we read and fault-inject another thread’s program counter?
threads and LWP in Linux
https://stackoverflow.com/questions/28476456/threads-and-lwp-in-linux
Net
Misc
- https://en.wikipedia.org/wiki/Hexspeak
- How to write a “dummy” (do nothing) line in C
- Bash : Taking a wildcard as argument of a shell script
- Notes on structured concurrency, or: Go statement considered harmful
- Golang runtime/internal/syscall.Syscall6 consuming large amount of CPU
- Stupid clangd
- Exceptions: Yes or No?
- macos forces its user to be dynamic
- The Self-Pipe Trick Explained