5 ms·
Swift has a real performance problem, it doesn't seem competitive with other "systems languages" Is the goal to make it faster later? What can be done to get c
by syspec 5y ago
Swift has a real performance problem, it doesn't seem competitive with other "systems languages"
Is the goal to make it faster later? What can be done to get closer to that goal?
- jb1991 5y agoSwift is quite fast as an app programming language. I’ve never understood why anyone could consider it a systems programming language with a straight face. But to say that it has a “real performance problem” is a bit of an exaggeration. Compared to the many other languages out there, it’s faster than most.
- syspec 5y agoProbably because that is one of the states goals as voiced by the languages creator
- jb1991 5y agoThat was a long time ago, I thought. The word "systems" was removed from the swift website years ago when it was clear that it did not really have that priority.
- syspec 5y ago> The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services. > Fast. Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). As such, Swift must be comparable to those languages in performance for most tasks. Performance must also be predictable and consistent, not just fast in short bursts that require clean-up later. There are lots of languages with novel features — being fast is rare. Those are literally the stated goals. It does not get more clear than saying "Swift is intended to be a replacement for C-based languages (C, C++)..." [0]https://www.swift.org/about/ https://www.swift.org/about/