|
|
|
|
|
by OskarS
876 days ago
|
|
No, and it would be impossible to prevent as well: obviously library code can do anything it wants, including asking the kernel for memory. But this is one of those things which just wouldn't happen in practice: custom allocators are so embedded in the Zig philosophy that I cannot imagine competent Zig programmers writing a library that did something like this. It's just not what you do in Zig. |
|