Let's Write a Malloc

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tlsf

    Two-Level Segregated Fit memory allocator implementation.

  • I've had to find a malloc simple enough to port to another language recently and this one was really well written with good features and research papers behind it: https://github.com/mattconte/tlsf

  • mark-sweep

    A simple mark-sweep garbage collector in C

  • Never forget:

    https://journal.stuffwithstuff.com/2013/12/08/babys-first-ga...

    > Let me stress here that while this collector is simple, it isn’t a toy.

    > There are a ton of optimizations you can build on top of this—in GCs and programming languages, optimization is 90% of the effort—but the core code here is a legitimate real GC.

    > It’s very similar to the collectors that were in Ruby and Lua until recently.

    > You can ship production code that uses something exactly like this.

    > Now go build something awesome!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • malloc

    implementation of malloc with mmap() (by Jibus22)

  • https://github.com/Jibus22/malloc/blob/main/srcs/malloc.c

  • assemblyscript

    A TypeScript-like language for WebAssembly.

  • Incidentally, it’s also what AssemblyScript uses: https://github.com/AssemblyScript/assemblyscript/blob/main/s...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Do you think typescript will ever have native support on brosers? Or we will have only the JS type annotations?

    2 projects | /r/typescript | 11 Jul 2023
  • Ezno's checker (a Javascript type checker and compiler written in Rust) is now open source

    2 projects | /r/rust | 8 Jun 2023
  • Is there a TypeScript to native compiler available?

    1 project | /r/typescript | 13 May 2023
  • AssemblyScript – TypeScript-like language for WebAssembly

    1 project | news.ycombinator.com | 22 Apr 2023
  • [AskJS] You have mastered writing JavaScript from scratch, why use TypeScript?

    5 projects | /r/javascript | 15 Mar 2023