图形应用程序中的C ++ vs.C#。 [英] C++ vs.C# in a graphics app.

查看:105
本文介绍了图形应用程序中的C ++ vs.C#。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们计划开发一款应用。这将涉及很多图形操作,如

打开,缩放旋转等。

并且由于过滤器,噪音校正将会有很多数学运算

等。在图像上。

与ac#和win32 c ++或

托管c ++代码会有太多的性能差异吗?

感谢您的帮助

Hi,
we plan to develop an app. that will involve lots graphics operations like
open, zoom rotate ect.
and there will be a lot of math in it because of filters ,noise corrections
ect. on image.
Will there be too much performance difference with a c# and win32 c++ or
managed c++ code?
thanks for help

推荐答案

" Aykut" < GA *** @ atesgastro.com>写在

新闻:e8 ************** @ TK2MSFTNGP12.phx.gbl:
"Aykut" <ga***@atesgastro.com> wrote in
news:e8**************@TK2MSFTNGP12.phx.gbl:
我们计划开发一款应用。这将涉及大量的图形操作,如开放,缩放旋转等。由于过滤器,噪音更正等因素将会有很多数学运算。在图像上。
与ac#和win32 c ++
或托管c ++代码有太大的性能差异吗?
we plan to develop an app. that will involve lots graphics operations
like open, zoom rotate ect.
and there will be a lot of math in it because of filters ,noise
corrections ect. on image.
Will there be too much performance difference with a c# and win32 c++
or managed c++ code?




Geranlly C ++非IL这样的事情要快得多。您应该使用非IL构建一个带有

托管导出的ASM,并使用C#。

-

Chad Z. Hower(aka Kudzu) - http://www.hower.org/Kudzu/

编程是一种反击的艺术形式


使你的ASP.NET应用程序运行得更快
http://www.atozed.com/IntraWeb/


我们发现C#的速度非常快,即使对于低级别的像素运行,只要您处理像素阵列之类的东西,而不是高级API。 C#中的不安全代码不一定比数组

像素快。告诉您具体案例的唯一方法是制定具体的

基准。


问候,

Frank Hileman

查看VG.net: http://www.vgdotnet.com

动画矢量图形系统

集成Visual Studio .NET图形编辑器


" Aykut" < GA *** @ atesgastro.com>在消息中写道

news:e8 ************** @ TK2MSFTNGP12.phx.gbl ...
We have found C# to be surprisingly fast even for low level pixel
operations, as long as you work with things like arrays of pixels, and not
high level APIs. Unsafe code in C# is not necessarily faster than an array
of pixels. The only way to tell for your specific case is to make specific
benchmarks.

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

"Aykut" <ga***@atesgastro.com> wrote in message
news:e8**************@TK2MSFTNGP12.phx.gbl...
我们计划开发一款应用。这将涉及很多图形操作,如
打开,缩放旋转等。由于过滤器,噪音更正等因素将会有很多数学运算。在图像上。
与ac#和win32 c ++或管理的c ++代码有太大的性能差异吗?
感谢您的帮助
Hi,
we plan to develop an app. that will involve lots graphics operations like
open, zoom rotate ect.
and there will be a lot of math in it because of filters ,noise
corrections ect. on image.
Will there be too much performance difference with a c# and win32 c++ or
managed c++ code?
thanks for help



对于那种操作,c#肯定比java快吗?


" Frank Hileman" < FR ****** @ no.spamming.prodigesoftware.com>在消息中写道

新闻:eM ************** @ tk2msftngp13.phx.gbl ...
Is c# definitely faster than java for that kind of operations?

"Frank Hileman" <fr******@no.spamming.prodigesoftware.com> wrote in message
news:eM**************@tk2msftngp13.phx.gbl...
我们找到了C#来即使你使用像素阵列这样的东西,也不是高级别的API,即使对于低级别的像素操作也要惊人的快。 C#中的不安全代码不一定比像素数组快。告诉您具体案例的唯一方法是制定具体的基准。

问候,
Frank Hileman

查看VG.net:< a rel =nofollowhref =http://www.vgdotnet.comtarget =_ blank> http://www.vgdotnet.com
动画矢量图形系统
集成的Visual Studio .NET图形编辑器

Aykut < GA *** @ atesgastro.com>在消息中写道
新闻:e8 ************** @ TK2MSFTNGP12.phx.gbl ...
We have found C# to be surprisingly fast even for low level pixel
operations, as long as you work with things like arrays of pixels, and not
high level APIs. Unsafe code in C# is not necessarily faster than an array
of pixels. The only way to tell for your specific case is to make specific
benchmarks.

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

"Aykut" <ga***@atesgastro.com> wrote in message
news:e8**************@TK2MSFTNGP12.phx.gbl...

我们打算开发一款应用。这将涉及大量的图形操作,如开放,缩放旋转等。由于过滤器,噪音更正等因素将会有很多数学运算。在图像上。
与ac#和win32 c ++或管理的c ++代码有太大的性能差异吗?
感谢您的帮助
Hi,
we plan to develop an app. that will involve lots graphics operations
like open, zoom rotate ect.
and there will be a lot of math in it because of filters ,noise
corrections ect. on image.
Will there be too much performance difference with a c# and win32 c++ or
managed c++ code?
thanks for help




这篇关于图形应用程序中的C ++ vs.C#。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆