Tag

low-level

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Apr 19, 2025 · Fundamentals

Understanding CPU Usage Spikes: Pipeline, Locks, and Optimization

The article explains how CPU pipelines, cache misses, branch‑prediction failures and lock contention cause non‑linear usage spikes, illustrates common pitfalls such as infinite loops, lock‑heavy spinning and catastrophic regex backtracking, and offers practical detection with perf and three rules—avoid busy‑waiting, use cache‑friendly layouts, and limit thread contention.

CPUOptimizationconcurrency
0 likes · 6 min read
Understanding CPU Usage Spikes: Pipeline, Locks, and Optimization
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2025 · Fundamentals

Why Most Operating Systems Are Written in C

Most operating systems are written in C because its simple, portable syntax, minimal runtime, and direct memory and hardware access let developers write bare‑metal kernels that manage resources efficiently, making C the preferred high‑level language for system programming despite other languages being better for applications.

C languageHardwareOperating Systems
0 likes · 5 min read
Why Most Operating Systems Are Written in C
Efficient Ops
Efficient Ops
May 30, 2022 · Cloud Native

Understanding Low‑Level vs High‑Level Container Runtimes and CRI in Kubernetes

This article explains the evolution of container runtimes, distinguishing low‑level and high‑level runtimes, introduces key projects such as runC, containerd, CRI‑O, and demonstrates practical demos and CRI integration with Kubernetes, providing code examples and architectural diagrams for cloud‑native practitioners.

CRIKubernetescontainer runtime
0 likes · 16 min read
Understanding Low‑Level vs High‑Level Container Runtimes and CRI in Kubernetes
JD Retail Technology
JD Retail Technology
Apr 19, 2021 · Fundamentals

Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime

This article explains how an iOS/macOS application is launched, detailing the interaction between dyld and the Objective‑C runtime, the initialization steps performed by _objc_init, and the series of functions such as environ_init, static_init, map_images, read_images, and load_images that together realize classes, selectors, protocols and +load methods before main() is called.

Class LoadingObjective-CRuntime
0 likes · 19 min read
Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jun 28, 2019 · Fundamentals

Bitwise Optimization Techniques for Counting Set Bits in 32‑Bit Integers

The article explores how bitwise operations can dramatically speed up counting the number of set bits in a 32‑bit integer, presenting a naive O(n) solution and four successive optimizations that reduce runtime from about two seconds to under a tenth of a second, while sharing practical low‑level coding tricks.

C++Optimizationalgorithm
0 likes · 10 min read
Bitwise Optimization Techniques for Counting Set Bits in 32‑Bit Integers
Didi Tech
Didi Tech
Apr 18, 2019 · Fundamentals

Understanding Go's Syscall Mechanism and Runtime Interaction

Go’s syscall mechanism uses assembly‑implemented entry functions like Syscall and Syscall6 to invoke the kernel, while the runtime’s entersyscall and exitsyscall hooks notify the scheduler, allowing P resources to be released during blocking calls and handling privileged low‑level syscalls separately.

GoRuntimeScheduler
0 likes · 17 min read
Understanding Go's Syscall Mechanism and Runtime Interaction