Signal Processing: C ++ vs C #

I would like to create my own signal processing library and possibly another graph algorithm. I find C # very useful and reliable regarding possible errors related to memory allocation, pointers, threads, etc.

But I was wondering how much I will lose in terms of performance. Will it be something acceptable?

thank

+5
source share
3 answers

When I started my DSIP course, I was a pure C # developer. After looking around for a while, I ended up using C ++ libraries and studied C ++, which in the end was a win for me, since I was doing image processing in real time, and C # could not match the performance.

In fact, you can run a quick test and run a mathematical equation, consisting of several multiplications in C # and C ++, a million times and see a huge difference in the fact that the calculation is performed with floating point numbers.

If you're lucky, you'll get wrappers in C #, which is the best of both worlds, quick calculation in C ++ and easy to use in C #. There is a C # shell for OpenCV, and it looks nice (http://www.emgu.com/wiki/index.php/Main_Page).

OpenCV 2D-. . : http://www.youtube.com/watch?v=NeQvcdRPxoI http://www.youtube.com/watch?v=NqYPJELHkhA

+6

.

- : ++. #.

, , , .

. - , , , . , , , .

+3

#, , . GC GC. - , 99% , . Microsoft DirectShow .

+3

All Articles