Re: My thoughts on C# and gaming.
Brandon Van Every <[email protected]>
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 29, 2010 at 2:58 PM, Miguel de Icaza <[email protected]> wrote: > >> The Great Language Game http://shootout.alioth.debian.org/ says that >> compared to GNU g++ >> Mono C# is up to 10x slower > > Right, that uses the standard Mono installation, not the LLVM one which > doubles Mono's speed. And also runs Mono in safe mode, if you make it > unsafe, it doubles the speed again. > > On SciMark the results on my machine are as follows: > > Tests on Jan 29, 2009 > > Mono 2.6 > Composite Score: 462.10 MFlops > > Mono Trunk using LLVM > Composite88 Score: 640.94 MFlops Quibble: that's 1.38x, not 2x. > Mono trunk with LLVM and no bounds checking: > Composite Score: 805.14 MFlops Quibble: that's 1.74x, not 4x. So I think "Mono is up to 5x slower than g++, when used with LLVM in unsafe mode" might be a fair statement. I say "might" because what we really need for comparison is a C++ SciMark score. In any case, Mono performs much better than a scripting language. Not sure it performs as well as C++ though. > Java 1.6: > Composite Score: 882.9892682796393 Can safety be turned off in Java? I'm guessing that's a safe score. Cheers, Brandon Van Every _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com