Facebook Develops An AI-Translator For Software Programmers
TransCoder is highly versatile

Currently, TransCoder can translate freely between C++, Java and Python, but the research team behind TransCoder says that it will be able to adapt to any programming language pair and fluently translate in between them.

Software with the sole purpose of translating between languages is already available, but the results are more often than not underwhelming and can’t be used in a fire-and-forget manner due to the differences in how each language is structured. These so-called S2S (source to source) compilers are far from compiling code errorfree and need extensive bugfixing to get the final result to work. It’s often easier to just rewrite the code from scratch in the desired language.

Any programmer who needs to change code from let’s say C# to C++ or the other way around will tell you the same thing: “Learn both C# and C++, then spend a whole lot of time rewriting code from scratch.”

TransCoder learns by translating not only from a source language to a target language but also reverse translating it back. If you have used Google translator in the past, then you surely know that hitting “reverse translate” a few times can give you weird results as the translator pulls more things out of context.

TransCoder translates code both ways to pick up on these differences and tweaks the code until both ways give the expected results. This way, it ensures coherence.
['Kevin Buddaeus']
['Technology', 'Software Development', 'Business', 'AI', 'Programming']