106 karma · joined January 5, 2026
Github.com/tnelsond
Yeah that's the lore page does look like there's no downvoting submissions then and people are just trolling.
My theory is that LLMs have the brains of hipster coders with their proclivity for rust and node etc.
Someone really should do some tests.
I'm gonna read this article and try making my own allocator next.
But I hear you, it feels like all the AI stuff has just cemented that I want to read stuff by humans and make stuff on my own. Artisanal code written by people like Bellard will always be more interesting than any AI thing.
But when I wanted to optimize and edit and reorganize bthe code it was difficult, so I did a rewrite in C and it was lighter and faster and simpler and less headache.
C for humans, rust for AI.
Not sure what the author is on about about it being difficult or not practical when most all of Linux userland is written in it.
Makes me want to make a full game using JavaScript inside an SVG image.
A page of sheet music can be as small as 8kb. I'm using a wasm decoder right now, but I could forsee using css filters after the fact to make it look less sharp and aliased
Instead of doing multiple columns, there's some of that with secondary and tertiary indexes, but mostly it's just key value.
To make the data more relational I find it's more natural to just have additional "columns" in separate peak files and when the peak files are queried they can be combined by headword. This is kinda like what parquet does putting all of one column together.
I could make PeakSlab have columns and have it query based off specific columns fairly easily, but it was a design decision to make things more tag based and less column based. I like that it's more flexible and less rigid in structure.
SQLite keeps everything relational and their raw filesizes are 50% larger than a .peak file, not sure what's exactly to blame, but I'm optimizing for small filesizes.
I'm storing null delimited sorted strings with an index that's an offset to where that entry begins, so if I wanted to do memtables for writing I would have to have two memtables and merge them on write? I've been considering this exact approach.
That's why PeakSlab is written in c, because what's faster than casting the whole database to a struct? ;-P
SQLite is 1.2mb in combined wasm and JavaScript and not really designed for my use case, so I would have to add all the things i need anyway like compression and HTML tag insertion. For my use case which is just for pwas SQLite takes too long to load and the files are too big and the search isn't tailored. So I made something else in 38kb instead
What are the advantages or reasons to use zstd in a 7z container versus just .zst?