[Mono-list] First mono experiences / some benchmarks

Paolo Molaro lupus@ximian.com
Mon, 29 Apr 2002 17:04:29 +0200


On 04/27/02 Stefan Matthias Aust wrote:
> Some time ago, I manually ported two Java programs to C# to have some
> non-trivial examples to compare the runtime behavior of Java and C# (and to
> learn C#).  Today I installed mono4windows-0.11 and tried to run these
> programs.  In case you're interested in the result, I'll post them here.

Thanks for the info, very interesting!

> I can't really benchmark nscheme, as, for what reason ever, the interpreter
> doesn't terminate on System.Environment.Exit(0).  The Smalltalk interpreter,

I fixed this bug in cvs, Exit() was unimplemented.

> however, does. Update: I found a workaround: "</dev/null" will work - for
> some reason it seems to read from stdin when it shouldn't.

Can you post a link to the sources of these programs, so that we can
extract a test case for the bug? Thanks!

> Then, to get an impression of the MCS compiler, I tried to recompile both
> projects. Unfortunately, this didn't work.  With nscheme, the compiler
> throws an exception (and reports a lot of warnings of the MS compiler as
> errors).  With littlest, it detects some compiler errors.

As above, if you post the sources we can add a proper bug report to our
bug tracking system (or you may do it yourself at http://bugzilla.ximian.com).

> The error in littlest is probably related to the timing-problem.  It's an
> error because it seems that some library function is missing:

I filed a bug for this issue (#23998).

> So, while I'm a little bit disappointed that I couldn't recompile my code
> yet, it's pretty good to see, that the mono project evolves and that
> there'll be hopefully eventually a working Linux version and an alternative
> implementation on Windows. While I'll stay with Java for now, I start to
> like C# and - being a language freak - I especially like the .NET idea of
> having different languages running on the same platform - which shouldn't be
> always Windows.

Thanks for your feedback!

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better