Taking software apart
to see how computers tick.
Hi, I'm Franck. I put together visual notes and small browser sandboxes to figure out what our machines actually do — from a single flip-flop storing a bit to Linux containers and pixels on screen.
architecture rtl of full_adder is
signal x_ab : std_logic;
begin
x_ab <= a xor b;
sum <= x_ab xor cin;
cout <= (a and b) or (cin and x_ab);
state <= cout & sum;
end architecture rtl;uint32_t alu_add(cpu_t *c, uint32_t a, uint32_t b) {
uint64_t sum = (uint64_t)a + (uint64_t)b;
uint32_t res = (uint32_t)(sum & 0xFFFFFFFFU);
c->eax = res;
c->zero = (res == 0);
c->carry = (sum > 0xFFFFFFFFULL);
return res;
}export function sendStats(mhz: number): Response {
const data = { arch: "x86_64", mhz, carry: 0 };
const body = JSON.stringify(data);
const headers = {
"content-type": "application/json"
};
return new Response(body, { status: 200, headers });
}Recent writing
Deep-dive analyses on computer architecture, WebGPU, systems runtimes, and frontend craft.
Play with the fundamentals
Flip bits on a 1-bit full adder, write bitwise JavaScript helpers, or inspect a simulated Linux box directly in your browser.
1 + 1 Binary Adder
Toggle the binary switches on the right to compute 1 + 1: achieve SUM = 0 and a carry-out of CARRY = 1.
Power of 2 in O(1)
Complete the JavaScript expression to test whether n is a power of 2 using a bitwise operator.
💡 In binary, a power of 2 has only a single bit set to 1 (e.g., 1000). Applying a bitwise AND (&) with n - 1 yields 0.
Network Diagnostics & TCP Sockets
Run ss -tulnp in the simulated terminal to inspect open listening ports on the server.
Core engineering domains
From hardware fundamentals and Rust systems programming to modern interfaces and AI architectures.
Guided learning paths
Structured multi-chapter tracks with runnable examples and deep mental models.
“Simplicity is prerequisite for reliability.”
Featured software
Systems tools, engines, and UI kits crafted with live sandboxes and release artifacts.