<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Jb in a nutshell: Sharpen, an Open Source Java to C# converter</title>
    <link>http://evain.net/blog/articles/2008/05/20/sharpen-an-open-source-java-to-c-converter</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Sharpen, an Open Source Java to C# converter</title>
      <description>&lt;p&gt;&lt;a href="http://www.flickr.com/photos/jbevain/2435496909/" title="Dandelion by Jb Evain, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3207/2435496909_2218937b8c.jpg" width="500" height="333" alt="Dandelion" style="border: 2px solid black" /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Today folks at &lt;a href="http://developer.db4o.com/"&gt;db4o&lt;/a&gt; released &lt;a href="http://developer.db4o.com/Resources/view.aspx/Reference/Sharpen"&gt;Sharpen&lt;/a&gt;, an open source Java to C# converter.&lt;/p&gt;


	&lt;p&gt;Am happy to see this coming, as it is soming I&amp;#8217;ve pushed strongly for when I was working at &lt;a href="http://www.db4o.com"&gt;db4objects&lt;/a&gt;, and was hacking on it, mentored by its main developer, &lt;a href="http://blogs.codehaus.org/people/bamboo/"&gt;Rodrigo&lt;/a&gt;. There I had the chance to &lt;a href="http://developer.db4o.com/blogs/product_news/archive/2006/11/15/new-conventions-for-db4o-on-net.aspx"&gt;improve&lt;/a&gt; the &lt;a href="http://developer.db4o.com/blogs/product_news/archive/2007/04/23/adding-love-to-the-c-sources.aspx"&gt;generated code&lt;/a&gt;, to make it look like hand written code, that follows .net conventions.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s nothing magic, and requires compromises on both the Java and the generated C#, but it&amp;#8217;s pretty handy, easily hackable, and all in all, damn useful.&lt;/p&gt;


	&lt;p&gt;Rodrigo wrote a &lt;a href="http://developer.db4o.com/blogs/product_news/archive/2008/05/20/smart-java-to-c-conversion-for-the-masses-with-sharpen.aspx"&gt;nice tutorial&lt;/a&gt; on Sharpen.&lt;/p&gt;


	&lt;p&gt;Time to port your Java applications to the amazing &lt;a href="http://mono-project.com."&gt;Mono&lt;/a&gt;!&lt;/p&gt;</description>
      <pubDate>Tue, 20 May 2008 21:18:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:ca0abb3a-760e-4620-bb79-1e2e0a66a971</guid>
      <author>Jb Evain</author>
      <link>http://evain.net/blog/articles/2008/05/20/sharpen-an-open-source-java-to-c-converter</link>
      <category>Mono</category>
      <category>db4o</category>
      <trackback:ping>http://evain.net/blog/articles/trackback/487</trackback:ping>
    </item>
    <item>
      <title>"Sharpen, an Open Source Java to C# converter" by Mikey</title>
      <description>&lt;p&gt;I don&amp;#8217;t see any valid reason to convert Java to C#.  I did this at one of my jobs (using the converter in Visual studio) and it was a waste of time.  We ended up with a messier code base that did exactly the same thing as the Java version.  On top of that, it took around 3 weeks to fix the 1000+ compiler errors from the initial conversion.&lt;/p&gt;


	&lt;p&gt;Then it took weeks more to actually get the app to run the same as the Java version.&lt;/p&gt;


	&lt;p&gt;Now, can we get ONE MORE post on dzone?  I already see 3 about this in 2 days, all saying about the same thing.&lt;/p&gt;


	&lt;p&gt;Maybe people should consider something like this:&lt;/p&gt;


	&lt;p&gt;&lt;a href="https://net2java.dev.java.net/" rel="nofollow"&gt;https://net2java.dev.java.net/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;or&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://dev.mainsoft.com/" rel="nofollow"&gt;http://dev.mainsoft.com/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Mike&lt;/p&gt;</description>
      <pubDate>Thu, 22 May 2008 17:03:56 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:47ef2cf9-5f10-4e1c-9269-31ea4bee9e52</guid>
      <link>http://evain.net/blog/articles/2008/05/20/sharpen-an-open-source-java-to-c-converter#comment-490</link>
    </item>
    <item>
      <title>"Sharpen, an Open Source Java to C# converter" by Jb Evain</title>
      <description>&lt;p&gt;It converts Java code (text) to C# code (text).&lt;/p&gt;</description>
      <pubDate>Tue, 20 May 2008 23:15:57 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:2cd340c8-72a3-4f23-8e57-302fde8d643c</guid>
      <link>http://evain.net/blog/articles/2008/05/20/sharpen-an-open-source-java-to-c-converter#comment-489</link>
    </item>
    <item>
      <title>"Sharpen, an Open Source Java to C# converter" by Rob</title>
      <description>&lt;p&gt;How is that different from IKVM?&lt;/p&gt;</description>
      <pubDate>Tue, 20 May 2008 23:05:10 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:d1b663eb-8623-49bd-b9cb-3137e2d0ed70</guid>
      <link>http://evain.net/blog/articles/2008/05/20/sharpen-an-open-source-java-to-c-converter#comment-488</link>
    </item>
  </channel>
</rss>
