|
|
|
|
|
by matheusmoreira
727 days ago
|
|
This is only ever a problem in hosted C and its standard library malloc and free, right? If you write freestanding C with your own memory allocator you made from scratch, then the compiler will never make such assumptions. Right? That wheel is certainly in need of some serious reinvention anyway. This seems like a good starting point: https://nullprogram.com/blog/2023/12/17/ |
|