Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralCultureInfo Pin
Member 7439443-Dec-03 2:43
Member 7439443-Dec-03 2:43 
GeneralRe: CultureInfo Pin
Heath Stewart3-Dec-03 4:30
protectorHeath Stewart3-Dec-03 4:30 
GeneralDataBinding Row DataGrid Pin
Braulio Dez3-Dec-03 2:32
Braulio Dez3-Dec-03 2:32 
GeneralRe: DataBinding Row DataGrid Pin
Heath Stewart3-Dec-03 4:15
protectorHeath Stewart3-Dec-03 4:15 
GeneralRe: DataBinding Row DataGrid Pin
Braulio Dez3-Dec-03 21:06
Braulio Dez3-Dec-03 21:06 
Generalchat server Pin
Mahmoud Manasrah3-Dec-03 1:20
sussMahmoud Manasrah3-Dec-03 1:20 
Generalchat server Pin
Mahmoud Manasrah3-Dec-03 1:19
sussMahmoud Manasrah3-Dec-03 1:19 
GeneralRe: chat server Pin
Heath Stewart3-Dec-03 3:57
protectorHeath Stewart3-Dec-03 3:57 
Good, so you know a few languages - now you need to understand the technology. All .NET languages - i.e., those that target the CLR - compile down to Microsoft Intermediate Languages (MSIL), an extension of Intermediate Language (IL). This means that no language is necessarily faster than one or another. The major differences between the compiled forms of VB.NET and C# are that VB.NET makes allowances for a few conventions (like, instead of using Return value, you can still do FunctionName = value like in VB). I've studied the differences between the assemblies that are generated and the IL is almost exactly alike in every case.

As far as C++.NET goes, the only time that it is a lot faster is when you use mixed mode assemblies, or those that use both native instructions and IL. First, this is bad in many cases (such as touchless deployments over the 'net) because unverifiable code is present in the assembly (that which the CLR does not and cannot manage). For the very same reason, it is also dangerous. The CLR is called the managed runtime because it manages all memory. When you use native code, you are again managing the memory (like in C/C++) and the CLR cannot manage it or even verify the types.

So, one is not really faster than the other when you're talking about pure .NET assemblies. Use whichever language you feel most comfortable, while being cautious with C++.NET because of its unverifiable nature (there are several articles in the .NET SDK that deal with this topic - you might want to take a look at them to fully understand the consequences).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: chat server Pin
Mahmoud Manasrah3-Dec-03 20:50
sussMahmoud Manasrah3-Dec-03 20:50 
GeneralCan't paste a image to PicBox Pin
trythat3-Dec-03 1:05
trythat3-Dec-03 1:05 
GeneralRe: Can't paste a image to PicBox Pin
Heath Stewart3-Dec-03 3:51
protectorHeath Stewart3-Dec-03 3:51 
GeneralRe: Can't paste a image to PicBox Pin
trythat3-Dec-03 6:55
trythat3-Dec-03 6:55 
GeneralRe: Can't paste a image to PicBox Pin
Heath Stewart3-Dec-03 8:16
protectorHeath Stewart3-Dec-03 8:16 
GeneralRe: Can't paste a image to PicBox Pin
trythat4-Dec-03 0:51
trythat4-Dec-03 0:51 
GeneralRe: Can't paste a image to PicBox Pin
Heath Stewart4-Dec-03 5:07
protectorHeath Stewart4-Dec-03 5:07 
GeneralRe: Can't paste a image to PicBox Pin
trythat4-Dec-03 5:16
trythat4-Dec-03 5:16 
GeneralC# MIME parser Pin
pahlsson3-Dec-03 0:53
pahlsson3-Dec-03 0:53 
GeneralRe: C# MIME parser Pin
Heath Stewart3-Dec-03 3:46
protectorHeath Stewart3-Dec-03 3:46 
GeneralRe: C# MIME parser Pin
Ivar Lumi3-Dec-03 4:12
Ivar Lumi3-Dec-03 4:12 
GeneralPerformance Java vs. C# Pin
MeisterBiber3-Dec-03 0:36
MeisterBiber3-Dec-03 0:36 
GeneralRe: Performance Java vs. C# Pin
Heath Stewart3-Dec-03 3:41
protectorHeath Stewart3-Dec-03 3:41 
Generalc# excutable Pin
shon92-Dec-03 23:17
shon92-Dec-03 23:17 
GeneralRe: c# excutable Pin
Trantor3-Dec-03 2:03
Trantor3-Dec-03 2:03 
GeneralRe: c# excutable Pin
eggie53-Dec-03 6:56
eggie53-Dec-03 6:56 
GeneralHelp me please!!! Deconvolution Pin
Angeluna2-Dec-03 23:11
sussAngeluna2-Dec-03 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.