![]() |
im new to the language
what is c# for
|
Re: im new to the language
Application Development.
|
Re: im new to the language
Chris, are you always that helpful ;)
C# can be used for developing Windows Application or Web sites using ASP.NET. It can also be used for intergrated systems developments (pocket pc's mostly) using the .NET compact framework. The focus of C# is Rapid Application Development without sacrificing power (like VB for example). On the negative side, programs written in C# are generally slower than their C/C++ counterparts. |
Re: im new to the language
i was in hte middle of a disagreement with my girlfriend lol, sorry about that.
Much better put there OpenLoop Chris |
Re: im new to the language
You can't go wrong with C#.
I found the language a lot easier to get a grasp on than C or C++. It is similar in syntax to a certain extend, but a lot more object orientated. MS Visual C# is a very nice IDE to use, and there is also heap of tutorials out there for it.:) If you would like to get some links just let me know and I will post them. >BstrucT |
Re: im new to the language
C# is a very powerful, and very useful language, it's just a little on the slow side.
|
Re: im new to the language
Yeah .. it really is slow you know , especially seeing how we all build mission critical software and need ever bit of speed :-/
|
Re: im new to the language
if you don't know any other languages you won't notice it being slower, however in comparison it is quite slow. but how many of us are developing that speed critical applications ?
|
Re: im new to the language
Is it just the IDE that is slow, or are you guys refering to the final application written?
If it is the application that is slow, why? Is there a difference between the .NET framework handling all the functions like memory for example, or manually allocating and disposing of it again where neccesary as in C and C++? ( I mean, performance wise ) :?: Just curious. >BstrucT |
Re: im new to the language
C# (and really all .NET languages) are typically going to be slower than C/C++ (or other languages compiled to native code) because they're still running through an interpreter. In this case it's the .NET framework, and Java has this same architecture through their JVM.
What happens is that your .NET code is compiled, but not to assembly, or machine readable instructions. Instead it's compiled to a custom assembly-type language called the Microsoft Intermediate Language (MSIL, sometimes also called Common Intermediate Language (CIL)). When you run your program, you load the .NET runtime, and it takes this MSIL and converts it to assembly on the fly. This process ends up slower than C or C++ apps that are compiled straight to assembly, but it also means that your .NET or Java apps can be run on any machine (Windows, Linux, Unix; x86, x64, etc...) which has the appropriate runtime installed to make the final conversion. With C and C++, you have to compile your program into separate executables for different OSs, and even architectures in some cases, which means you'll end up with code differences between each version. As to perceptible application speed, managed languages (.NET, Java, etc) will often seem like their going just as fast as native languages (C, C++, etc). Any program which waits for user input to do most of its work will spend most of it's time just waiting for that input. However, you may be able to notice speed differences in programs which do long stretches of computations, as both applications will be churning through a workload, in which case you have the interpreting mess mentioned above. |
| All times are GMT -5. The time now is 4:49 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC