Hi.
Is it important that in which language, a DLL written with?
I mean, DLLs written in native C++ are faster or DLLs written in C#.NET? Because Native C++ is much faster that C#.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted May 15, 2011, 1:31 AM EDT
Mahesh ChandRank #1 · 393.3K reputationPosted May 13, 2011, 12:48 PM EDT
Majid KamaliRank #6,453 · 266 reputationPosted May 13, 2011, 1:15 PM EDT
BTW, in a program, between what you said (between low level and high level code), which is better?
Thanks
Sam HobbsRank #107 · 20.5K reputationPosted May 13, 2011, 2:10 PM EDT
You might think that C++ is faster because it is compiled to machine code and C# is not, but C# does get compiled to machine code. You might be able to write C++ programs taht are more efficient but you need to be experienced and knowledgeable to be successful. Note that your time is also expensive and spending a lot of your time to save a little machine time might be considered poor performance, especially if someone is paying you to do the work.
Majid KamaliRank #6,453 · 266 reputationPosted May 15, 2011, 7:38 AM EDT