|
|
|
|
|
by hawski
1204 days ago
|
|
Their standard libraries are built around the notion, but I would argue that putting allocation in their respective stdlibs instead of a part of the language makes it possible to be flexible if needed. There are non-trivial and semi-popular C programs that do not use the C stdlib at all. I agree that the culture is different and that is significant, but I do not see it in the notion of the language itself (without its stdlib). Also what is idiomatic for Zig does change as it is not a mature language. Though the allocator passing is expected to remain. Odin did an interesting thing and the allocator is put in a 'context' which is an actual part of the language. |
|