Jump to content
  • Advertisement
Sign in to follow this  
Shai

Managed C++, C#, C++.Net,...

This topic is 4838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

could someone please clear up what's so different about them? Google yields nothing informative, just a load of buzzwords containing the word 'solution' a lot. C: well, it's C C++: C with classes Managed C++: ? this .net deal: ? C#: ?

Share this post


Link to post
Share on other sites
Advertisement
C
"The C programming language is a low-level standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the UNIX operating system. It has since spread to many other operating systems, and is one of the most widely used programming languages. C is prized for its efficiency, and is the most popular programming language for writing system software, though it is also used for writing applications. It is also commonly used in computer science education"
(wikipedia)

C is used in the Linux kernel, and generally in programming on the Linux platform. It has been used extensively in game programming, but C++ is taking over in that area these years. Otherwise C is a niche language.

C++
"C++ (pronounced "see plus plus") is a general-purpose computer programming language. It is a statically typed free-form multi-paradigm language supporting procedural programming, data abstraction, object-oriented programming, and generic programming. During the 1990s, C++ became one of the most popular commercial programming languages."
(wikipedia)

C++ is a very popular language used in graphics, game programming as well as systems programming and application development.

Managed C++
"is one of Microsoft's new languages for their .NET initiative. Officially it is called Managed Extensions for C++ by Microsoft, but it is almost universally referred to it by its shortened form."
(define in Google)

This is a version of C++ which utilizes the .NET platform (see below). It's not a language per se, but extensions to the C++ language. The manged part means that it's managed by the .NET runtime which increases the security for applications.

.NET
"The .NET framework created by Microsoft is a software development platform focused on rapid application development, platform independence and network transparency. .NET is Microsoft's strategic initiative for server and desktop development for the next decade. According to Microsoft, .NET includes many technologies that are designed to facilitate rapid development of Internet and intranet applications."
(wikipedia)

.NET is a platform for developing desktop applications and web applications. It's the future of development on the Microsoft platform. It can be targeted by almost any language imaginable. So you can program the .NET platform using C++ (Managed C++), Visual Basic, Object Pascal (called Chrome), Delphi, Eiffel etc.
The .NET platform is kind of comparable to the Java platform (J2SE and J2EE).

C#
"C# (pronounced see-sharp) is an object-oriented programming language developed by Microsoft as part of their .NET initiative. Microsoft based C# on C++ and Java. C# was designed to create a language that would provide a balance of C++ with rapid development, Visual Basic, and Java."
(wikipedia)

C# is just one language that targets the .NET platform. You might say it's Microsoft's version of Java.

Hope that helps.

Share this post


Link to post
Share on other sites
.net is like java. The source code is compiled to an intermediate language, then later compiled to machine langauge when the program is run. At the moment .net code is not really portable across different operating systems like java is, but it could be if someone would make a .net virtual machine for linux.

In .net you can choose between many different languages to program in. They all get compiled to the same intermediate language. Java forces you to program only in java. But in .net you can even program java(it's called J#). It makes the language you program in irrelevant and if you like to use VB it will be just as effiecent and speedy as if you used C++.

And visual stuidio.net (microsofts compiler) makes it easy to create graphical programs in .net. You can just drag and drop buttons and stuff onto the screen and the code is automatically generated. It let's you focus on coding what the program does, and not worrying about trivial details like getting a window up and running.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by Lord Tydus
.net code is not really portable across different operating systems like java is, but it could be if someone would make a .net virtual machine for linux.

Lookup the Mono and dotGNU projects, both of which are working implementations of .Net on Linux (and Macs for Mono). Mono even has a nearly complete implementation of Windows Forms. Thay is more than enough compatibility for most projects (especially games).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!