News for hackers. Stuff that matters.
Re:C to Java Translation. Automatic, Complete, Correct. Free... by marco2357 on Wednesday April 29, 2015 @05:21AM (#9457161)
Main author here. Let me know if you have any questions. I’d be happy to answer.
Re:C to Java Translation. Automatic, Complete, Correct. Free... by shultays on Wednesday April 29, 2015 @09:35AM (#9458128)
I tried so hard to break main arguments (char argv), on my last try I sent char argv to a function and It wrapped main, and inserted program name to beginning and called the wrapped main with new arguments. I give up.
Re:C to Java Translation. Automatic, Complete, Correct. Free... by marco2357 on Wednesday April 29, 2015 @03:53PM (#9461235)
Hahaha, cool!
Re:C to Java Translation. Automatic, Complete, Correct. Free... by MrBuddyCasino on Wednesday April 29, 2015 @08:55AM (#9457905)
If it really works - very impressive! Have you considered using sun.misc.Unsafe for things like pointer arithmetic?
Re:C to Java Translation. Automatic, Complete, Correct. Free... by marco2357 on Wednesday April 29, 2015 @09:13AM (#9458004)
Yes, but it's way too limited for replicating what you can do with C pointers. Therefore we wrote our own classes.
Re:C to Java Translation. Automatic, Complete, Correct. Free... by rip747 on Wednesday April 29, 2015 @08:46AM (#9457856)
it's very kind of you to translate open source projects for free. I personally think you should give that more attention rather then just an italic sentence at the bottom of the page.
Re:C to Java Translation. Automatic, Complete, Correct. Free... by marco2357 on Wednesday April 29, 2015 @09:21AM (#9458039)
Thank you!

But of course a lot of development and money went into our translation framework. So the main aim has to be to make money with it. But as long as we have capacity, we're happy to translate open-source software and improving our translation while doing so.