Zig's memory model

Hello Zig people!

I have a question - does Zig have a memory model like c++ does? As far as I understand it should be exactly as c++ currently due to usage of LLVM but what will happen once LLVM is completely out?

Thanks

Hi! Zig doesn’t formalize a memory model yet, but that’s the plan. See Adopt a Zig Memory Model · Issue #6396 · ziglang/zig · GitHub

5 Likes

Got it - thanks!

1 Like