Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Dec 24, 2023 · Fundamentals

How a 500‑Line C Compiler Self‑Compiles: Inside the C4 Project

This article demystifies the C4 compiler—a minimalist C compiler written in just 528 lines and four functions—by explaining its architecture, showing a Hello World build, demonstrating self‑hosting, and detailing the supported language subset, bytecode format, and unique implementation tricks.

C CompilerC4Compiler design
0 likes · 11 min read
How a 500‑Line C Compiler Self‑Compiles: Inside the C4 Project
Software Development Quality
Software Development Quality
Jul 9, 2022 · Fundamentals

Mastering Simple & Effective Software Architecture: KISS Principles and Design Guidelines

This article explains how to keep software architecture simple and appropriate by applying KISS principles, balancing completeness, flexibility, and lightness, outlines when pre‑design is sufficient or excessive, presents core design principles such as SOLID, N+1, statelessness, and details a six‑step C4‑based design and review process.

C4KISSSOLID
0 likes · 14 min read
Mastering Simple & Effective Software Architecture: KISS Principles and Design Guidelines
Qunar Tech Salon
Qunar Tech Salon
Jan 7, 2015 · Fundamentals

Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications

This article explains the design, phases, and practical implications of the C4 concurrent continuously compacting garbage collector, comparing it with G1 and IBM's Balanced GC, and provides guidance on when to choose C4 for enterprise Java workloads requiring low pause times and high scalability.

C4Garbage CollectionJVM
0 likes · 21 min read
Understanding the C4 Garbage Collector: A Concurrent Continuously Compacting Collector for Low‑Latency Java Applications