4 ms·
And that unlike Rust Swift is often much slower if you aren't extremely careful how you use it
by greggman2 7y ago
And that unlike Rust Swift is often much slower if you aren't extremely careful how you use it
- skohan 7y agoSwift has a different niche than Rust. They both offer safety, but Rust prioritizes performance, where Swift prioritized ergonomics. For me personally, Swift is often fast enough for my needs as a compiled language, but it's so much easier to be productive in since it obviates many of the more tedious concerns of Rust. Both languages play nicely with the C FFI so it's also possible to write high-level code in Swift and drop down into C or Rust for the performance sensitive parts.