Matthew Bub

Matthew Bub

@matthewbub.com

Software engineer. Enjoying life with my lovely fiancée.

98 followers520 following332 posts

Spending about 30 min - 1 hr a day on my markdown editor right now while i wrap up other projects ive basically been spending time getting my feet wet in with specific data structures common in text buffers (PieceTable, PieceTree, Rope and more that turned out to be irrelevant)

This whole time i have been trying to decide the algorithm I want to use; also realizing at the same time that the algorithm doesn't even matter because the input/output of a text buffer is the same regardless

Going to just use an array of strings to start and circle back later ; which is fine this will give me more time to research and mull over these data structures

The author mentions they began with an array of strings and eventually ran into memory limitations, notably when splitting on line breaks while opening large files. It's inspirational that the VS Code team took an array of strings so far to begin with

and I agree with the idea of pushing simple solutions as far as they can go I'm going to listen to the words of wisdom, I won't be using an array of strings specifically for the reasons highlighted in this article. Jumping forward with exploring other data structures..

i will be building a markdown editor in public , currently in the planning phase; but will begin to share regular progress updates (expect more library author style technical posts, aka probably boring to the majority)

Modified my commit SKILL to disregard Claude's co author habit and so far it seems to be working. Idk what's happening in the git notes tho

thinking of starting a series that basically documents "what makes money" in technology because I think most early stage entrepreneurs (myself included) tend to underestimate what an actual business does

Matthew Bub reposted

🌶️ Vibe coding is fun until it actually happens.After that, you’ll need to debug your entire application line by line. Not fun.