Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think these benchmarks are realistic. Yes, you can use UnsafePointers, but that's not the real world case. ARC, runtime generics and structs have a huge cost in real world programs.

Swift is unfortunatelly usually an order of magnitude slower then Java and C# in real world according to last benchmarks I've made. I'm hoping that will change because I really love Swift.



Please contribute Swift programs that you think are "the real world case":

http://benchmarksgame.alioth.debian.org/play.html


Agreed. Swift is quite high-level compared to C or C++, for examples. As with any languages, there are tradeoffs with performance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: