[swift-users] Performance critical code in Swift

Tino Heth 2th at gmx.de
Mon Oct 3 09:58:05 CDT 2016


My general advice for performance critical code (especially when it's about stuff like serialization and parsing):
If you just want a working solution without spending much time, stick with C.
Swift can be fast, but it's harder to write slow code in C.

If, on the other hand, coding time is no big concern:
Use Swift, try to get it as fast as possible (can take time) — and if this isn't enough, switch to C (which might end up to be to slow as well ;-)

- Tino


More information about the swift-users mailing list