dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Re: [Mono-list] Port of a Java quantum fractal generator.


From: Adam Treat
Subject: [DotGNU]Re: [Mono-list] Port of a Java quantum fractal generator.
Date: Wed, 20 Nov 2002 14:00:45 -0500
User-agent: KMail/1.4.7

On Wednesday 20 November 2002 01:50 pm, Miguel de Icaza wrote:
> 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.

Here is a tar of the C# port.  You can also find this in the Qt# cvs.

http://qtcsharp.sourceforge.net/qfractals.tar.gz

Cheers,

Adam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]