I

I wrote a minimal memory allocator in C

Hacker News

I wrote a minimal memory allocator in C

A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.

Share card

Actual performance

137points
32comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Missing: https docs, excited, just released
56%56% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: code, plain · Missing: mac, agents, macos
54%54% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
54%54% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
28%28% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
18%18% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Mi
Mini_gzip – embeddable, minimal, in-memory GZIP API54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mini_gzip – embeddable, minimal, in-memory GZIP API

Hacker News2
Mi
Mini_gzip – embeddable, minimal, in-memory Gzip API54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mini_gzip – embeddable, minimal, in-memory Gzip API

Hacker News21
Je
Jelly – Experimental minimal RPC21%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Jelly – Experimental minimal RPC

Hacker News2
Mi
Minimal Fibers47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Minimal Fibers

Hacker News53
A
A minimal TodoMVC in Brutal47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A minimal TodoMVC in Brutal

Hacker News1
An
Another Minimal Stylesheet47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Another Minimal Stylesheet

Hacker News1
Mi
MiniForth – A Minimal Forth54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MiniForth – A Minimal Forth

Hacker News6
A
A Minimal Traceroute Implementation44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Minimal Traceroute Implementation

Hacker News4
Mo
Momentous – a minimal datepicker for bootstrap49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Momentous – a minimal datepicker for bootstrap

Hacker News1
Mi
Minimal Meteor Scaffolding59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Minimal Meteor Scaffolding

Hacker News1