3 ms·
Swift runs at the speed of C. It could be several orders of magnitude faster than ruby or python or node.
by matt4077 10y ago
Swift runs at the speed of C. It could be several orders of magnitude faster than ruby or python or node.
- eptcyka 10y agoNot necessarily true https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=swift&lang2=gcc https://benchmarksgame.alioth.debian.org/u64q/compare.php?la... http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=python3&lang2=swift http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
- lassofreak 10y agoBut it is true? https://medium.com/@rymcol/benchmarks-for-the-top-server-side-swift-frameworks-vs-node-js-24460cfe0beb#.jrxb0nqcr https://medium.com/@rymcol/benchmarks-for-the-top-server-sid... Perfect (Swift) kills Node.js - which means it kills other stuff (like Ruby) without question. Python would be hard tho...
- bigdubs 10y agoWould be curious to see `perfect` on the techempower list.
- ralfd 10y agoInteresting. Swift runs circles around Python, except Regex-DNA. Problems with string manipulations?
- smitherfield 10y agoPython and the other scripting languages' regex engine is PCRE (Perl-Compatible Regular Expressions, a very mature and highly-optimized C library), while Swift's is presumably written in Swift.