I'm trying to learn digital image processing, I found my friend using c#. There is a very important reason why he using C#: There is unsafe
keyword in c# and the performance of his code(algorithm part) can reach 75% of same code in c++, which is good enough for him.
He encourages me to turn to c#, but I'm java programmer of many years. I know there is a Unsafe
class in java too, but I have never used of it, not sure if the performance is as good as C#.
So I want to know the performance of Unsafe
in java, and is it a good idea to use Java for image processing?
UPDATE
Just using unsafe code for some performance-aware task, not use it everywhere.