For years a have heard that C++ is fast, so, it is good for image processing, by example.
If i am developing a system in C# that need to do some image processing and i want to improve your performance, whats the best aproach?
1 – Do it all in C# and do the image processing function embraced with “unmanaged”
2 – Write the function that process de image in C++ and import this function to my C# code?
Another questions?
Which one improves the performance?
Its a trade off between C++ to C# call and IL code to machine code generation.
Now you need to compare the cost of 1 & 2.