== Quote from Jason House (jason.james.ho...@gmail.com)'s article > safeD doesn't mean your code is safe... only "memory safe". Similarly, > "shared" sort of partitions data and there is no provably safe way to create or use it. I have no idea if your example is truly legit safeD or not...
1. Using __gshared and casting **away** shared are illegal in SafeD. 2. Low level data races can cause memory corruption if pointers get overwritten with invalid data.