Java to C#: JCLA 2.0

Version 2.0 of JCLA (Java Language Conversion Assistant) is here.  FYI, JCLA is a VS.NET tool that converts Java source code into C# source code.  You'll need Visual Studio .NET 2003 CDs to install it (it doesn't support older version of VS.NET).  Here are the list of changes from JCLA 1.0.

  • Significant performance improvement for larger conversion projects.
  • Support for conversion of JavaServer Pages (JSP) and servlets.
  • The ability to read all major character-encoding systems.
  • Conversion of the Java 1.2 Collections API.
  • Improved support for the conversion of applets.
  • Fixes to several bugs and omissions in JLCA 1.0.

Considering that JCLA 1.0 was pretty much useless, I hope this version is at least functional instead of taking forever to spit out doubtful cryptic code.  Most importantly, I should be able to trust the code it spits out.

One .NET tool I would like to see is a Language Morpher, a tool that translates .NET code from one language to another and back without mangling or lossing necessary information like names and comments.  VB.NET to C# to Python to Perl to J#.  Cool.

I don't have much hope for such a tool, however, because of all the legacy baggage each language comes with like language-specific standard libraries.  C# is the purest of them all because it has zero legacy baggage.