-
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
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
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!
-
https://github.com/Jibus22/malloc/blob/main/srcs/malloc.c
-
Incidentally, it’s also what AssemblyScript uses: https://github.com/AssemblyScript/assemblyscript/blob/main/s...
Related posts
-
Do you think typescript will ever have native support on brosers? Or we will have only the JS type annotations?
-
Ezno's checker (a Javascript type checker and compiler written in Rust) is now open source
-
Is there a TypeScript to native compiler available?
-
AssemblyScript – TypeScript-like language for WebAssembly
-
[AskJS] You have mastered writing JavaScript from scratch, why use TypeScript?