“Who is like You, O Lord, among the gods?”

Terra Cimmeria, Mars
Joined March 2014
Btw this is why computer science matters. Yes, you can self teach it if you really want to (I personally wouldn't have had the discipline, so college was a way better force). However you learn it, the theoretical fundamentals matter and get applied to work every single day.
If you're interested in "how" or "why": the major culprit is that each row in Alacritty has 32 bytes of metadata and each cell is 24 bytes. In Ghostty, every row and cell is represented by exactly 8 byte each. How do we do this? The first major culprit is styles. Alacritty stores the full cell style alongside each cell (foreground, background, underline, etc.). Ghostty stores a 16-bit style ID and de-dupes all styles into a look-aside custom reference-counted hash table. MOST cells are unstyled, and when there are styles MOST styles are shared, and when styles are shared MOST are repeated in a run (multiple cells with the same style in a row). Put this all together, and the tradeoff on compute to access it doesn't even end up being slower. Next, codepoints. Alacritty stores multi-codepoint graphemes (like, Emoji) by having an 8-byte nullable pointer to a `Vec`. This hurts doubly: (1) its almost always null (because multi-codepoint is rare) yet you pay an 8 byte cost on every cell and (2) every multi-codepoint grapheme triggers a heap allocation to make that Vec. Ghostty stores single codepoints inline, but multiple codepoints in a look-aside table. The memory for this table uses a custom bitmap-tracked chunk-allocator (since grapheme frequency follows a measurable curve we calculated by scanning various online texts). The presence of graphemes is marked by a 2-bit content tag in our packed 64-bit cell. To keep the key small in the hash table, its limited to a 16-bit unsigned int that is an offset from a base pointer. Okay, the astute systems programmer will quickly notice there are a lot of 16-bit integers and ask: so this is all limited to a max of ~65K values? Nay. We maintain our grid using a linked list of contiguous ~400KB memory chunks (which themselves are in a memory pool using a custom allocator to speed up alloc/free). Each memory chunk is limited to 2^16. If/when we reach a limit, we move to the next page. In practice, this really doesn't happen except under pathological cases... the important point is we handle it. Lots, lots, lots more details, but thats a 10,000 foot view. These things alone account for ~95% of the difference of our uncompressed vs. Alacritty's uncompressed memory usage. (Theres also a reason why Alacritty's data structures aren't trivially compressable but thats a whole other topic)
46
161
13
3,008
276,802
Simeon retweeted
dax
@thdxrJul 25
idea guys think simply having the idea means they should be successful programmers think simply being able to build the idea means they should be successful
133
85
17
2,173
94,126
Simeon retweeted
Replying to @Sportzz1 @BBCSport
Not every victory will look the same , sometimes it has to look different , that’s growth,consistency and mentality packed together to make a different experience.
2
1
101
Simeon retweeted
boris cherny goes on a podcast every three months and says something like “i’ve stopped breathing now i just wrote a breath.md” and the next day everyone in sf stops breathing
134
456
55
9,157
364,305
Simeon retweeted
dax
@thdxr27 Dec 2025
my 2c on the california tax thing pinning it on one politician is the wrong move - the reality is that people across the spectrum hate billionaires right now and would support any action against them things are out of wack no one cares about "the next google won't happen"
12
2
124
14,606
Simeon retweeted
Are you currently hiring for a role that includes using Node.js? Reply with a link to the opening and any relevant context. If you're not, we'd appreciate a repost for visibility 💚
24
103
4
575
53,088
Happy "View Transitions Level 1 support in all major browsers" Day! 🎉 With Firefox 144 now stable, everyone gets beautiful transitions with Astro ClientRouter
27
119
23
1,677
201,684
Simeon retweeted
Elon Musk
@elonmusk14 Oct 2024
16,841
88,168
5,961
1,029,104
154,027,786
Wall Street has NO IDEA what’s coming. Zuck explains the bull case for $NVDA in 2 minutes better than any analyst:
294
1,507
195
12,915
2,616,637
I went from being off social to > 170k readers on X, LinkedIn & newsletter My unlock? A Content OS Notion template that simplifies creation. RT & comment “OS” and I’ll DM it to you.
262
84
5
115
50,222
Very, very fast voice bots. Llama 3.1 running on @GroqInc. 🚀 500ms voice-to-voice response times
80
434
91
3,867
386,607
To celebrate our Mainnet: 🚀 $50,000 $ATA Airdrop 🚀 ✨ Follow @AutomataNetwork & @CoinMarketCap ✨ Join xata.to/telegram & xata.to/announcement ✨ Like, retweet & tag 3 friends with the hashtag #AutomataMainnet Join the full #Airdrop at CMC ↓ coinmarketcap.com/currencies…
17,021
38,256
28,184
34,091
Its official Jack changed the color of the Retweet button. Any where you see #June12thProtest Retweet to confirm. – at Ikeja, Nigeria
10
1,894
8
1,181
Something wey our police fit do 😂😂😂😂😂 Follow me @Martybube1 Electricity | Paul Pogba | Jack Bauer | CCTV | Fashola | Knock Knock | Chidi | Nonso | Sherlock Holmes Everton | Benz | Digne | Ings | Iwobi | Wizkid | My FPL | Toto | Tradera | NAFDAC |
16
150
39
304
Detective fashola, aka Sherlock Holmes, I hail you inspector gadget
9
69
8
115
😂🤣😂 oooshey mongo park #nedu no fit make heaven swears #endcriminalleadershipinNigeria #SherlockHolmes #sherlockfash #inspectorgadget
😂😂😅🤣😂 Still on the Sherlock Holmes Fashola matter. Shey Nedu fit make heaven like this?
6
1
12
Simeon retweeted
This tweet underrated
Desmond Elliot is a proof that a young person could be the President of this country and still fail us.
1,181
12,812
363
37,958
Very sad to learn hear of the death of President Buhari, whom I campaigned for. Thoughts with his wife @aishambuhari and family. #buhari
3,596
19,400
9,675
16,043
Yesterday in Nigeria at Lekki Toll Gate, armed soldiers fired live rounds at unarmed protesters at a peaceful roadblock in response to a government imposed curfew. The people were protesting police brutality and extra-judicial killings. Police brutality must end. #EndSARS
23
2,219
41
1,777