Hey people

I've been trying to compile Freenet to run on the .NET runtime. I've
been doing this using Visual Studio and the J# language. I know
Microsoft is the company that people just love to hate but this is
something I thought might be worth the effort because of performance
improvements. The main difference between the JVM and .NET is the way
each JIT works:

Java: Intermediate language - Compile - Run
.NET: Intermediate language - Compile - Cache a copy of compiled code -
Run

As you can see with .NET it caches a copy of code that is already been
run. Seeing as a lot of repetitive work is done in Freenet I think it
would benefit from this. So far everything has compiled fine so far
without any changes. I am just left with the following 4 compile errors
now.

\freenet\fs\tests\DirectoryTest.java(8): Cannot find class
'junit.framework.TestCase'
\freenet\node\http\DistributionServlet.java(35): Cannot find class
'java.util.jar.JarOutputStream'
\freenet\node\http\DistributionTest.java(2): Cannot find class
'junit.framework.TestCase'
\freenet\support\test\FieldsTest.java(2): Cannot find class
'junit.framework.TestCase'

And before the 'I hate Microsoft' brigade start winging, a open source
implementation of the .NET runtime is being worked on. See
http://www.go-mono.com <http://www.go-mono.com/>  for more info.

Happy New Year!

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20030101/f9e84456/attachment.html>

Reply via email to