4 ms·
> I would have thought that Ladybird would be using a language that specifically guarantees memory safety which is Rust. Rust isnt the only compiled language t
by GeekyBear 2y ago
> I would have thought that Ladybird would be using a language that specifically guarantees memory safety which is Rust.
Rust isnt the only compiled language that provides memory safety by default. Swift does as well.
- zozbot234 2y agoDoes Swift enforce memory safety in concurrent code also, i.e. preventing thread-unsafe data access in safe code? That's a really hard problem that Rust tries to address mostly successfully, and many other languages don't.
- GeekyBear 2y agoYes. That is a new feature as of version 6 of Swift. https://www.swift.org/migration/documentation/swift-6-concurrency-migration-guide/dataracesafety/ https://www.swift.org/migration/documentation/swift-6-concur...