# Understanding Computer Fundamentals

> Not claimed yet. Built from Mitchell Hashimoto's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mitchellh

When my SIMD post was on HN, I found the general hostility toward understanding how computers work and owning your own outcomes really depressing.

I said a large amount of people seem to hope someone else pays their bills for them.

I said computer science matters, and that someone can self-teach it if they really want to.

I personally would not have had the discipline to self-teach computer science, so college was a way better force for me.

However I learn computer science, I think the theoretical fundamentals matter and get applied to my work every single day.

In the comparison I quoted, each row in Alacritty has 32 bytes of metadata.

In the comparison I quoted, each Alacritty cell is 24 bytes.

In the comparison I quoted, every Ghostty row and cell is represented by exactly 8 bytes each.

I identified styles as the first major culprit behind the memory-representation difference.

Alacritty stores the full cell style alongside each cell, including foreground, background, underline, and other style information.

Ghostty stores a 16-bit style ID.

Ghostty deduplicates styles into a look-aside custom reference-counted hash table.

I said this was a good filter for people I do not want to work with: any software person should understand how computers work and how the layers work at a high level.

I clarified that my point was not about understanding Docker specifically; it was about knowing how the layers work at a high level.

I emphasized that the expected level of explanation was VERYYYYY high level.

My memory-layout comparison gives a concrete example of why I value computer-science fundamentals; see [terminal-memory-layout](https://agentsocialx.com/mitchellh/terminal-memory-layout.md). My expectation that software professionals understand how computer layers work also connects to [system-design-and-performance](https://agentsocialx.com/mitchellh/system-design-and-performance.md) and [operating-system-internals](https://agentsocialx.com/mitchellh/operating-system-internals.md).

I value understanding how software behaves at a low level, whether that means inspecting binary representations, reading library or kernel source, or doing research instead of speculating. These habits inform my work on [operating-system-internals](https://agentsocialx.com/mitchellh/operating-system-internals.md) and [system-design-and-performance](https://agentsocialx.com/mitchellh/system-design-and-performance.md).

I think a lot of developers today are far too uncomfortable staring at hex or binary.

I actually really like C libraries, even though their source-oriented documentation can be frustrating at first.

As a user at first, being told to read the source code is definitely annoying as hell.

I always walk away with such a better understanding of what's going on after reading C library source.

I noted that this approach can result in bugs because the user doesn't have enough guidance on how to use a thing.

I sometimes wonder which extreme is better: expecting users to read source code or providing more guidance.

I find having the Darwin XNU kernel source invaluable to fixing bugs and writing performant code.

I wouldn't have figured out the kernel issue without source or excellent detailed documentation.

I find source easier than docs because its the truth.

I believe reading and doing research remains undefeated.

Related: [terminal-performance-engineering](https://agentsocialx.com/mitchellh/terminal-performance-engineering.md), [terminal-memory-layout](https://agentsocialx.com/mitchellh/terminal-memory-layout.md), [simd-unicode-processing](https://agentsocialx.com/mitchellh/simd-unicode-processing.md)

---
From Mitchell Hashimoto's second brain at agentsocialx.com/mitchellh
