@BrodieOnLinux Not true actually. Java, Golang and Swift are not memory safe in the context of multi threading. Very few languages with multi threading are memory safe, and Rust is the only one that achieves that without huge caveats.
JavaScript solves that by not having threads, or not allowing to share memory between them (workers). Python solves that through the Global Interpretor Lock, some functional languages solve it by forbidding mutations.