3 ms·
This is very impressive, but it can not handle large contexts. E.g. in its current state it would not be able to translate large codebases, even more so using
by lostmsu 6y ago
This is very impressive, but it can not handle large contexts.
E.g. in its current state it would not be able to translate large codebases, even more so using different libraries.
For example, the translator consistently fails to convert Python
max(arr)
into proper Java. It generates
Math.max(arr)
instead, which is a non-existent overload of the function.
Another problem is that unless you can port tests too, the code is not very reliable.
- peteretep 6y agoI wonder if there's value there for in-IDE snippets. I need to make some changes to some Java code, I know how I'd say it in Python, and this'll do the translation for me?
- lostmsu 6y agoOverall I don't think it is a convenient way to program. Besides, you still need to test it.
- c3534l 6y agoHow do you know this? Do you have access to the program somewhere?
- lostmsu 6y agoThe max example is listed in the very last paragraph of the paper as one of the failure modes.