Programming languages Comparisons in Computer Gaming (C++ Vs C#)
1 Sep 2020
Tags:
In this blog we explore the topic of popular programming languages in the Computer Gaming Industry. We also spoke to an experienced Gaming programmer to compare C++ and C#
Before we go into that, firstly, a little background:
What is a Programming Language?
It is a formal language comprising a set of instructions that produce various kinds of output. In computer programming the programming languages are used to implement algorithms.
What is C++
C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes".
What is C#
C# (pronounced see sharp, like the musical note C♯, but written with the number sign) is a general-purpose, multi-paradigm programming language encompassing strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
C# was developed by Microsoft.
Comparisons of C++ Vs C#
C++
High performance, Complete freedom, with great power comes great responsibility, meaning it can be very unstable unless you know what you are doing and to get the performance out of it you need to really use a lot of the languages features.
C#
Slower (still comparable, especially in recent versions so not 'too slow'), just a little slower than c++ due to being interpreted in intermediate byte code.
For example when a function first runs, it will compile first, so when doing timed tests, never take the first time a function takes to run as the time of execution and compare that, as it will look much slower than it actually is).
Typically windows only but with IL2CPP for unity or Mono, can be used anywhere.
Much safer to code in with better/more modern coding styles and better out of the box support for threading which is a big deal since modern cpu's are having more and more cores.
"TALK TO US"
We hope you enjoyed this blog and would be delighted to hear your thoughts and comments on this subject.
So please feel free to leave your comments and like / share our post.
Want to learn more about us at Talk Recruitment Ltd?
Talk Recruitment Ltd is a family run specialist recruiter of staff for the Gaming industry across the UK and Internationally, we would be delighted to assist you with your job search by introducing you to our client portfolio of Game Developers and Publishers.
For more career advice or to apply for Gaming vacancies contact Talk Recruitment Ltd on 0121 748 1433 to discuss further.
Alternatively feel free to register your CV with us for upcoming Gaming jobs.
Also feel free to check out our Recruitment Blog with regular specific articles for staff within the Gaming industry.
Follow us on LinkedIn for more blogs, the latest Gaming vacancies and industry news.
Also, feel free to connect with me Emma Buffery on LinkedIn