C# vs C++ vs Swift

C#
C#

8.7K
6.3K
1.4K
C++
C++

3.5K
2.2K
601
Swift
Swift

4.8K
3K
1.1K
- No public GitHub repository available -
- No public GitHub repository available -

What is C#?

C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.

What is C++?

C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized.

What is Swift?

Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose C#?
Why do developers choose C++?
Why do developers choose Swift?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using C#?
What are the cons of using C++?
What are the cons of using Swift?

Sign up to add, upvote and see more consMake informed product decisions

What companies use C#?
What companies use C++?
What companies use Swift?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with C#?
What tools integrate with C++?
What tools integrate with Swift?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to C#, C++, and Swift?
C
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
See all alternatives
Decisions about C#, C++, and Swift
StackShare Editors
StackShare Editors
Objective-C
Gradle
Swift
Java

At the heart of Uber’s mobile app development are four primary apps: Android rider, Android driver, iOS rider, and iOS driver. Android developers build in Java, iOS in Objective C and Swift. Engineers across both platforms land code into a monolithic code base that ships each week.

They use some third-party libraries, but often build their own, since “Many open source libraries available are general-purpose, which can create binary bloat. For mobile engineering, every kilobyte matters.”

On Android, the build system is Gradle. For the UI, Butter Knife binds views and callbacks to fields and methods via annotation processing, and Picasso provides image loading.

As for iOS, all of the code lives in a monorepo built with Buck. For crash detection, KSCrash reports crashes to the internal reporting framework.

See more
Interest over time
Reviews of C#, C++, and Swift
Avatar of Bessalitskykh
Software Development Consultan at MLSDev Inc.
Review ofSwiftSwift

The performance of Swift is almost the same as that of C++, which is considered the fastest in algorithm calculation arithmetics. Apple had this idea in mind and worked to improve the speed of Swift. For example, Swift 2.0 has beaten C++ in several computation algorithms, such as Mandelbrot algorithm. Objective-C is slower because it contains C API legacy.

Swift is faster than Objective-C, because it removed the limitations of C language and has been improved with the help of advanced technologies that were unavailable when C was developed. As mentioned by Apple, Swift was originally designed to operate faster.

Despite the fact that languages are different, they both integrate, and work with Cocoa and Cocoa Touch APIs, for all Apple platforms. Therefore, a regular app-user would not recognize the difference in operating speed between Objective-C vs Swift. Speed also depends on a programmer’s level and capabilities, since a slow app can be written in Swift as well.

Learn more here https://mlsdev.com/blog/51-7-advantages-of-using-swift-over-objective-c

Avatar of Bessalitskykh
Software Development Consultan at MLSDev Inc.
Review ofSwiftSwift

Its performance approaches the one of C++ which is considered the fastest algorithm calculation arithmetics. And Apple strives to improve the speed of Swift. Learn more here https://mlsdev.com/blog/51-7-advantages-of-using-swift-over-objective-c

How developers use C#, C++, and Swift
Avatar of Arbor Health, LLC
Arbor Health, LLC uses C#C#

C# is the most productive production language - it exposes a lot of functional conveniences along with the robustness of strong typing. And they're finally embracing the open source community - a huge plus.

#Language Features We use the basic syntax (for, foreach, if,while) and object oriented constructs (classes, very simple inheritance).

We also use lambdas and block methods extensively, an intermediate level programming construct, but in a very formulaic and predictable way.

Avatar of Lawrence Cheuk
Lawrence Cheuk uses SwiftSwift

iPhone app, a new born language, it may good but the IDE, xcode is bad compare with Visual Studio. It just like a baby. playground can only use without connect to other library...you can not do a simply refactor of renaming a variable. You can go to definition and find reference, but you can not go to implementation....I should write them on xcode not here basically it is not the fault of swift, but it tightly to it, unless you want to use a notepad to write it.

Avatar of Promethean TV
Promethean TV uses C#C#

PrometheanTV has used .NET and C# for several back-end applications and services including the Morphic Video Task System utilized to stream video assets to a variety of video delivery platforms including, Akamai, Brightcove, and others.

Avatar of Marc3842h
Marc3842h uses C++C++

C++ is used in Shiro (https://github.com/Marc3842h/shiro).

C++ is a high performance, low level programming language. Game servers need to run with fast performance to be able to reliably serve players across the globe.

Avatar of Jonathan Bro
Jonathan Bro uses C#C#

Unity3d builds the app and scripts are written in C#. It receives first class support from the Unity3d developer and most plugins exist in C# in comparison to Javascript (the other supported scripting language)

Avatar of Refractal
Refractal uses SwiftSwift

Most of our newer apps are written completely in swift, with our older ones and some special cases using a mix of Swift and Objective-C, but with Swift 2, the language is pretty much a must-use. "guard" is <3.

Avatar of Matt Welke
Matt Welke uses C#C#

Used to create personal projects that call for a more organized approach to software architecture. Great stable 3rd party libraries in NuGet for tasks like creating web apps (ASP.NET Core) and IoC containers.

Avatar of OnlineCity
OnlineCity uses C++C++

The most latency sensitive parts are written in C++. Due to our interconnected services architecture, we use either Python or C++ for each service, with the performance critical parts being C++14.

Avatar of Carbonmade
Carbonmade uses C#C#

The main Carbonmade backend / API is written in C# and is ready to run on the CLR. We currently host on Windows but are preparing to migrate to Linux when the CoreCLR stabilizes.

Avatar of Flutter Health Inc.
Flutter Health Inc. uses SwiftSwift

Flutter is coded with Swift v.2.3 and can be run with Xcode v.8.2.1. To launch in Xcode 9.3, the code needs to be migrated to Swift 4.1

Avatar of POROWNEO.PL
POROWNEO.PL uses C++C++

Used to write PHP extensions - AZTEC Decoder - License Driver scan - Axis2/C to PHP wrapper and Job-scheduler - Barbershop

Avatar of Luca Fulchir
Luca Fulchir uses C++C++

Performance, zero-overhead abstractions and memory safety of the modern C++ language make this the perfect language for the project.

Avatar of ApertusVR
ApertusVR uses C++C++

The main programming language of ApertusVR. C++11 & CMake provides multi-platform targeting. The architecture is modular.

Avatar of Maxim Ananov
Maxim Ananov uses SwiftSwift

Most of the app code was gradually rewritten in Swift for better performance and code maintenance.

Avatar of JINJA Ltd.
JINJA Ltd. uses SwiftSwift

Our native iOS app is built on Swift, and most of the basic function is still written in Swift

How much does C# cost?
How much does C++ cost?
How much does Swift cost?
Pricing unavailable
Pricing unavailable
Pricing unavailable
News about C++
More news