[Mono-list] Port of a Java quantum fractal generator.
Miguel de Icaza
miguel@ximian.com
20 Nov 2002 13:50:04 -0500
Hello,
> I've recently ported a Quantum Fractal generator to C#. The port was
> instructive and revealed some interesting details about the CLR, Java and the
> C# compilers.
This is an interesting post.
> C. MS.NET's CSC -- 'csc /out:qf.exe /r:/usr/local/lib/Qt.dll FractalViewer.cs
> QPaintBuffer.cs QuantumFractals.cs IQuantumFractal.cs'
>
> 1. 1118354/13.167 = 84936.128
> 2. 1114996/12.535 = 82378.722
> 3. 1125364/13.026 = 86393.674
>
> ~84569.51 datapoints/second
> ~25 seconds to compile (note: am using wine to run the csc compiler so this
> isn't really fair ;)
You might want to pass the /optimize flag to CSC, as it produces
slightly better code if you use that. That explains why MCS generates
slightly better code than CSC.
Do you have a link to the C# port, I would like to try it out myself.
Miguel.