{"id":4836,"date":"2014-03-30T15:49:55","date_gmt":"2014-03-30T15:49:55","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/suggestions-needed-effective-java-to-c-source-code-converter-collection-of-common-programming-errors\/"},"modified":"2014-03-30T15:49:55","modified_gmt":"2014-03-30T15:49:55","slug":"suggestions-needed-effective-java-to-c-source-code-converter-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/suggestions-needed-effective-java-to-c-source-code-converter-collection-of-common-programming-errors\/","title":{"rendered":"Suggestions needed: Effective Java to C source code converter-Collection of common programming errors"},"content":{"rendered":"<p>This is possible, but extremely difficult &#8211; for starters, you would need to integrate a garbage collector with your C source. There are a few projects that attempt this, e.g. Toba, but they&#8217;re unreliable and no longer maintained. Usually you&#8217;ll find somebody attempting something like this in their Master&#8217;s thesis, after which it is quickly abandoned.<\/p>\n<p>If you&#8217;re doing this to try to speed up your program, then don&#8217;t &#8211; Java is already pretty fast compared to natively compiled code (although it tends to use quite a bit more memory), and your translated C code is not going to be able to take full advantage of the C language.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is possible, but extremely difficult &#8211; for starters, you would need to integrate a garbage collector with your C source. There are a few projects that attempt this, e.g. Toba, but they&#8217;re unreliable and no longer maintained. Usually you&#8217;ll find somebody attempting something like this in their Master&#8217;s thesis, after which it is quickly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4836","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4836"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4836\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}