top | item 41019780

(no title)

Drygord | 1 year ago

It’s constraints on memory management basically will never allow that to happen.

It lures people in with “use any allocator you want”! Which only appears as freedom of choice when reality it’s locking the user into the same paradigm of memory management that has given C a bad name to begin with.

discuss

order

throwawaymaths|1 year ago

1/3 of the problem with c memory management is null unsafely, not a problem in zig. 1/3 more is conflating arrays with single item pointers. Also not a problem with zig. The only memory management "issue" with zig is lack of temporal memory safety.

geon|1 year ago

On embedded systems you probably shouldn’t allocate at all.