4 ms·
I have limited Zig experience, but actually zig is different from rust or go in this regard, correct? Rust and Go have the pointer have the unified syntax, but
by mr_00ff00 3y ago
I have limited Zig experience, but actually zig is different from rust or go in this regard, correct?
Rust and Go have the pointer have the unified syntax, but I thought in zig it does differentiate between the pointer itself and the value it points to.
Rust and Go:
ptr.method_on_ptr()
ptr.method_from_underlying_val()
Zig:
ptr.method_on_ptr()
ptr.*.method_from_underlying_val()