I learned Swift a few years back and created a few simple iOS, MacOS apps, and also did some hybrid C++/Obj C/Swift coding using Djinni.
Coding is more of a sideline / hobby for me, and I tend to be project-focused rather than wedded to a single language / platform.
At the time I was coding in Swift, the debian.net benchmarks game site was showing Swift, compared to other compiled languages, as middle-of-the-pack or slightly better in speed, beating out Java and C#.
I'm currently learning C# / Ninjascript and decided to see how C# compares to Swift now. I was surprised to find the most current results from the site have Swift at the bottom of the pack, behind all the listed compiled languages, including C#.
Here's the link: Benchmarks Game.
Wondering if anyone has insight into why this is?
Is it that Java and C# have improved a lot in speed, or is Swift just getting bogged down with feature bloat?
On a side note, they're also showing C++ beating C; previously the reverse was true.
Coding is more of a sideline / hobby for me, and I tend to be project-focused rather than wedded to a single language / platform.
At the time I was coding in Swift, the debian.net benchmarks game site was showing Swift, compared to other compiled languages, as middle-of-the-pack or slightly better in speed, beating out Java and C#.
I'm currently learning C# / Ninjascript and decided to see how C# compares to Swift now. I was surprised to find the most current results from the site have Swift at the bottom of the pack, behind all the listed compiled languages, including C#.
Here's the link: Benchmarks Game.
Wondering if anyone has insight into why this is?
Is it that Java and C# have improved a lot in speed, or is Swift just getting bogged down with feature bloat?
On a side note, they're also showing C++ beating C; previously the reverse was true.