c-allocators VS buddy_alloc

Compare c-allocators vs buddy_alloc and see what are their differences.

c-allocators

A collection of public domain single-file custom allocators for C/C++ (by gilzoide)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
c-allocators buddy_alloc
1 7
2 104
- -
0.0 7.8
about 3 years ago 3 months ago
C C
The Unlicense BSD Zero Clause License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

c-allocators

Posts with mentions or reviews of c-allocators. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning c-allocators yet.
Tracking mentions began in Dec 2020.

buddy_alloc

Posts with mentions or reviews of buddy_alloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-28.
  • Open-source MISRA-compliant projects
    2 projects | /r/C_Programming | 28 Dec 2022
    I maintain a project that's not technically MISRA compliant (due to being a memory allocator and MISRA disallowing the very idea) and I keep it at 100% test coverage with support for multiple compilers and operating systems. Over time I had a few users reporting back - since it's working for them I count that as success. Is it wildly popular ? Of course not, but it doesn't have to be.
  • One year ago I wrote a buddy memory allocator - project update
    3 projects | /r/C_Programming | 19 Jul 2022
    In the last year I worked on profiling and optimizing it, I fixed a few bugs, added some new capabilities and gained some users. I recently tagged v0.4 - check it out at https://github.com/spaskalev/buddy_alloc/
    3 projects | /r/C_Programming | 19 Jul 2022
    You are right about the tests - they are written with 64-bit in mind. I ought to rework them to switch sizes based on arch but that will take a weekend. I've filed https://github.com/spaskalev/buddy_alloc/issues/19 to track this.
  • I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
    103 projects | /r/programming | 28 Dec 2021
    I'm the author of https://github.com/spaskalev/buddy_alloc - a custom memory allocator for C (modern C11, works with C++ as well) designed for predictable and repeatable performance. It is suitable for use in embedded, games and any other system with soft or hard real-time demands. It has 100% line and branch test coverage and uses a fixed amount of space on the call stack when called. Recently the project had its first external contribution as well. Cheers!
  • What is your own favorite C project?
    14 projects | /r/C_Programming | 5 Aug 2021
    I made a memory allocator that turned out rather neat - https://github.com/spaskalev/buddy_alloc

What are some alternatives?

When comparing c-allocators and buddy_alloc you can also consider the following projects:

rpmalloc - Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C

VulkanMemoryAllocator - Easy to integrate Vulkan memory allocation library

isoalloc - A general purpose memory allocator that implements an isolation security strategy to mitigate memory safety issues while maintaining good performance

gunslinger - C99, header-only framework for games and multimedia applications

microui - A tiny immediate-mode UI library

rotate - [WIP] static typed programming language that compiles to vm bytecode

gb - gb single-file public domain libraries for C & C++

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

c - Visual Studio Code C/C++ development

sokol - minimal cross-platform standalone C headers

rotate - A collection of array rotation algorithms.

mojoAL - An SDL2-based implementation of OpenAL in a single C file.