Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even if it works, which I doubt, the maintenance question is more important than just porting. Porting is rarely done just because there is a new modern language. Writing a compiler/transcoder is likely easier and safer, guaranteed to work.

I wonder what the deep learning would do with concurrent code and differences in the memory models of the languages. The part is rather hard for experts in both languages and concurrency, there is very little similar code at all to learn from.



It seems like you could maybe go through machine code as an intermediary?


But wouldn't that just be decompiling with extra steps?


That would only help if you are willing to translate all of the libraries the code uses. Otherwise, transforming a call to C's `qsort` to Java's `Arrays.Sort` is unlikely to have the desired effect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: