microsoft/mimalloc
View on GitHub ↗ ★ 13,526 C
mimalloc is a compact general purpose allocator with excellent performance.
30 mentions on Hacker News by 27 people: 3 stories, 27 comments · first 2019-06-22 · latest 2026-06-21
20082026
-
Take a look at https://github.com/concurrencykit/ck and https://github.com/microsoft/mimalloc , it will fit well for a zero-copy and mem aligned reverse proxy. Also, if you want to add a DDoS protection and more advanced L4 stuff check out…
comment by spliffedr · 2026-06-21 · in Epoll vs. io_uring in Linux -
…current state of Musl on Alpine, but Musl can be built with https://en.wikipedia.org/wiki/Mimalloc https://github.com/microsoft/mimalloc as https://en.wikipedia.org/wiki/Chimera_Linux / https://chimera-linux.org/ does. Which btw. can be…
comment by LargoLasskhyfv · 2025-05-22 · in Our Journey Through Linux/Unix Landscapes -
https://github.com/microsoft/mimalloc?tab=readme-ov-file#per...
comment by scns · 2025-03-19 · in Make Ubuntu packages 90% faster by rebuilding them -
https://github.com/microsoft/mimalloc we're using it in feldera and it's been giving us (slightly) better performance than jemalloc which is what we've used before mimalloc
comment by gz09 · 2025-03-19 · in Make Ubuntu packages 90% faster by rebuilding them -
…the mimalloc allocator [0] can be configured as a drop-in replacement for the libc allocator.) [0] https://github.com/microsoft/mimalloc
comment by LegionMammal978 · 2025-03-18 · in Stupid Smart Pointers in C -
…immediately obvious to me that the code was written with that type of compatibility in mind. [0]: https://github.com/microsoft/mimalloc
comment by jay-barronville · 2024-10-03 · in Type-erased generic functions for C: A modest non-proposal -
…mi_collect[1] in the allocating thread (the Rust crate does not seem to expose this API). [1]: https://github.com/microsoft/mimalloc/blob/dev/src/heap.c#L1...
comment by loeg · 2024-08-21 · in Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust) -
▲ 3
Mimalloc: High performance general purpose allocatorstory by nateb2022 · 2023-12-29 · 0 comments
-
…problem, not only is there a lot of performance to squeeze out of malloc itself (the benchmarks on https://github.com/microsoft/mimalloc exemplifies the variance between the implementations), but it's up to the programmer to implement…
comment by kryptiskt · 2023-04-24 · in Z Garbage Collector: The Next Generation -
I hoped to see benchmark comparisons with newer allocators like mimalloc https://github.com/Microsoft/mimalloc and snmalloc https://github.com/Microsoft/snmalloc as well as the older workhorses like jemalloc, hoard, tcmalloc...
comment by fanf2 · 2023-04-20 · in Rpmalloc – General Purpose Memory Allocator -
…I also wouldn't expect it to be somehow pushed as the default choice for Windows allocators. [1]: https://github.com/microsoft/mimalloc/graphs/contributors
comment by evmar · 2022-07-02 · in The Windows malloc() implementation from MSVCRT is slow -
…support sbrk (I think jemalloc still does). Mimalloc seems to have some interesting features. [0] https://github.com/microsoft/mimalloc
comment by gary_0 · 2022-06-30 · in Linear Address Spaces: Unsafe at any speed -
…performance in concurrent environments. [1]: https://koka-lang.github.io/koka/doc/index.html [2]: https://github.com/microsoft/mimalloc
comment by osaariki · 2022-04-24 · in Chris Lattner on garbage collection vs. Automatic Reference Counting (2017) -
How does this compare mimalloc, the other allocator from Microsoft? https://github.com/microsoft/mimalloc
comment by jules · 2022-03-13 · in Snmalloc: High-performance message passing based allocator -
▲ 3
Mimalloc:a compact general purpose allocator with excellent performancestory by homarp · 2022-03-13 · 0 comments
-
…allocator (MIT license) a try? It appears to benchmark better than even jemalloc and others. https://github.com/microsoft/mimalloc#Performance
comment by alberth · 2021-11-02 · in Faster Mac dev tools with custom allocators -
…implementation, while Koka is 50% slower (similar to other C/C++ and Rust implementations). [0]: https://github.com/microsoft/mimalloc [1]: https://news.ycombinator.com/item?id=25464354
comment by anfelor · 2021-09-20 · in Pen: A programming language for scalable development -
I think it's both. Mimalloc had to use a different register: https://github.com/microsoft/mimalloc/issues/343
comment by tyingq · 2021-04-16 · in Docker Desktop for Mac (Apple Silicon) -
…other ARMV7 cpus, and that fact wasn't documented. Mimalloc had to trudge through the same thing: https://github.com/microsoft/mimalloc/issues/343
comment by tyingq · 2021-04-09 · in Initial M1 support merged into Linux SoC tree -
Microsoft's mimalloc looks interesting also: https://github.com/microsoft/mimalloc HN discussion from 2019: https://news.ycombinator.com/item?id=20249743
comment by tyingq · 2021-02-03 · in The effect of switching to TCMalloc on RocksDB memory use -
…practical mimalloc allocator came out of that work as well. https://github.com/koka-lang/koka https://github.com/microsoft/mimalloc
comment by Jason_Gibson · 2020-12-20 · in Perceus: Garbage Free Reference Counting with Reuse [pdf] -
…allocator is lock-free. Perhaps there's something in there that'd be interesting to read. https://github.com/microsoft/mimalloc https://github.com/microsoft/mimalloc/blob/master/include/mimalloc-atomic.h It has gone through testing with…
comment by Jason_Gibson · 2020-12-01 · in ARM and Lock-Free Programming -
…is `L >> PAGESHIFT` to use the ASLR randomized bits from the free list position `L`. In [mimalloc]( https://github.com/microsoft/mimalloc ) we use a similar strategy to protect the free list in secure mode. However, there are some…
comment by daanx · 2020-05-21 · in Safe-Linking – Eliminating a 20 year-old malloc() exploit primitive -
code: https://github.com/microsoft/mimalloc
comment by eternalban · 2020-05-07 · in Mimalloc: Free List Sharding in Action (2019) [pdf] -
We tried mimalloc in ClickHouse and it is two times slower than jemalloc in our common use case https://github.com/microsoft/mimalloc/issues/11
comment by danlark · 2019-06-22 · in Mimalloc – A compact general-purpose allocator -
They claim to perform well on at least some multi-thread workloads (read https://github.com/microsoft/mimalloc#performance ): "The larson server workload allocates and frees objects between many threads. Larson and Krishnan [2] observe…
comment by fabrice_d · 2019-06-22 · in Mimalloc – A compact general-purpose allocator -
▲ 356
Mimalloc – A compact general-purpose allocatorstory by dmit · 2019-06-22 · 66 comments
-
Implementation on Github: https://github.com/microsoft/mimalloc
comment by derkha · 2019-06-22 · in Mimalloc: Free List Sharding in Action