mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Anecdote 1: The generic version is way more popular than the non-generic
one in Zig codebase:
git grep -w alignForward | wc -l
56
git grep -w alignForwardGeneric | wc -l
149
git grep -w alignBackward | wc -l
6
git grep -w alignBackwardGeneric | wc -l
15
Anecdote 2: In my project (turbonss) that does much arithmetic and
alignment I exclusively use the Generic functions.
Anecdote 3: we used only the Generic versions in the Macho Man's linker
workshop.
|
||
|---|---|---|
| .. | ||
| arena_allocator.zig | ||
| general_purpose_allocator.zig | ||
| log_to_writer_allocator.zig | ||
| logging_allocator.zig | ||
| memory_pool.zig | ||
| PageAllocator.zig | ||
| ThreadSafeAllocator.zig | ||
| WasmAllocator.zig | ||
| WasmPageAllocator.zig | ||