3 ms·
I don't think C# vs Java performance can always be directly compared.. C#'s SuppressUnmanagedCodeSecurity attribute for PInvoke interfaces, when you can use it,
by tracker1 12y ago
I don't think C# vs Java performance can always be directly compared.. C#'s SuppressUnmanagedCodeSecurity attribute for PInvoke interfaces, when you can use it, reduces C#'s call overhead to something like 20% over using a Managed C++ library as a bridge. If you don't need to pass complex numbers (doubles) it isn't bad at all. Just depends on your needs.
Then again, depending on your needs, being able to scale out or up is far more important than raw performance characteristics... just depends on your needs.
- kasey_junk 12y agoThat is exactly my point. Value types vs lack of value types is largely immaterial to the performance story.