Close Menu
    Facebook X (Twitter) Instagram
    Tech Chacho
    • News
    • Mobile
    • Gadgets
    • Enterprise
    • Security
    • Reviews
    • Startups
    • How To’s
    • More
      • Fintech
      • Education
      • Cryptocurrency
    Facebook X (Twitter) Instagram
    Tech Chacho
    Home » Facebook’s AI Can Now Translate Code Into Other Programming Languages Automatically
    Facebook’s AI Can Now Translate Code Into Other Programming Languages Automatically
    News

    Facebook’s AI Can Now Translate Code Into Other Programming Languages Automatically

    June 11, 2020No Comments2 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Facebook’s AI research team has developed a system dubbed the neural transcompiler. The system uses more than 2.8 million open-source GitHub repositories to translate codes between three popular languages– C++, Java, and Python.

    Facebook’s AI Can Now Translate Code Into Other Programming Languages Automatically

    Keeping systems up to date with the latest programming languages and technologies costs millions of dollars every year. To tackle the issue, the team at Facebook AI Research (FAIR) has developed an automated system with the help of advanced Deep Learning architecture.

    Migrating existing codebases to a modern and efficient language requires individuals with expertise in both the source and the target language. Hence, it’s not only tedious but costly as well. For example, Commonwealth Bank of Australia has spent $750 million to translate its platform from COBOL to Java.

    According to FAIR, this new system is unsupervised. This means it requires minimum human supervision and will translate codes based on previously undetected patterns in data sets without labels. Researchers claim that this system outperforms rule-based baselines by a “significant” margin.

    This unsupervised translation has been achieved by initializing the transcoder with a cross-lingual language model. The model maps pieces of code expressing the same instructions from the number of common tokens like “for,” “while,” “if,” as well as a few mathematical operators. After this, it uses a target-to-source model to translate all the sequences.

    Although the results of the compiler are not completely accurate, it’s much more accurate than other transcoders available today.

    According to Facebook,

    TransCoder can easily be generalized to any programming language, does not require any expert knowledge, and outperforms commercial solutions by a large margin. Our results suggest that a lot of mistakes made by the model could easily be fixed by adding simple constraints to the decoder to ensure that the generated functions are syntactically correct, or by using dedicated architectures.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Empowering Pakistani Youth to Unlock Global Opportunities

    February 28, 2024

    Ignite Launches Venture Capital Mechanism Through Pakistan Startup Fund

    February 28, 2024

    Pakistani IT Delegation Shines At Web Summit Qatar 2024

    February 27, 2024
    Ad

    Samsung Galaxy Z Fold 6 Appears in Renders Again With No S-Pen Slot

    February 28, 2024

    ProPakistani Unveils Tecno Innovations at MWC 2024: A Glimpse into the Future of Technology

    February 28, 2024

    University of Management and Technology Hit by a Massive Hacker Attack

    February 28, 2024

    PTCL Group Announces Shoq TV Box Powered by Android TV at Mobile World Congress

    February 28, 2024

    All You Need to Know About Stylish and Feature-Packed vivo Y17s Diamond Orange Edition

    February 28, 2024

    HMD Teases Its First Self Branded Phones Instead of Nokia

    February 28, 2024

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    • Facebook
    • Twitter
    • Instagram
    • YouTube
    Mobile

    Samsung Galaxy Z Fold 6 Appears in Renders Again With No S-Pen Slot

    By QuartulainFebruary 28, 20240
    Mobile

    ProPakistani Unveils Tecno Innovations at MWC 2024: A Glimpse into the Future of Technology

    By QuartulainFebruary 28, 20240
    Facebook X (Twitter) Instagram YouTube
    • About
    • Terms Of Use
    • Privacy Policy
    • Disclaimer
    • Affiliate Disclaimer
    © 2026 Designed by Chunk Labs Hosted on Host Chacho.

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version