Julia is mostly memory safe. You usually have to do something specific if you want to get around safety checks, like using @inbounds
. There are a few unfortunate exceptions where umanaged memory accesses happen without the user specifically asking for it like Warn on uninitialized isbits-fields in structs? · Issue #24943 · JuliaLang/julia · GitHub.
2 Likes