Hi I want to develop a sound processing program in # .Net. Which one is faster for Sound processing Calling Native C++ dll or implementing in C# itself?
Which is faster C++ or C# ?
c++ is always faster
see c# has to under go lots of procedure like CLI
c++ also has pointer facility
so it can access memory addresses that is always faster
Reply:generally, any .net language is slower than c++ by 8-13% .
but you should consider that the development time in .net is much less than the development time in c++
Reply:in c++ theres one step debugging
in c# there are 2 step debugging
thats why c++ is always faster than c#
but developing in c# is much easier than c++
Reply:C++ is faster than C#..
Reply:I suspect that C# will reduce your performance. C++ has been a favorite of mine though.
Have you tried an algorithm that will test the performance?
Reply:Always c++ is faster compared to the c#.
since c++ is a language that is executed after compilation and need have to worry about the interpretation.
but in case of the c# there is the interpreter involved so it goes slow it is slow!
Reply:C++ is faster, and preferred if you're doing on-the-fly processing, otherwise it doesn't matter.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment