2 ms·
Zig and Odin compiler may implicitly pass variables by references[1][2], creating hidden aliasing, that's one thing unacceptable for me coming from C, I haven't
by fuhsnn 2y ago
Zig and Odin compiler may implicitly pass variables by references[1][2], creating hidden aliasing, that's one thing unacceptable for me coming from C, I haven't read about C3 doing this, hopefully it doesn't and not planned in the future.
[1] https://www.1a-insec.net/blog/25-zig-reference-semantics/ https://www.1a-insec.net/blog/25-zig-reference-semantics/
[2] https://github.com/odin-lang/Odin/issues/2971 https://github.com/odin-lang/Odin/issues/2971
- lerno 2y agoC3 follows the C ABI, so no it doesn't do it and it's not planned.