Home News IBM taps AI to translate COBOL code to Java

IBM taps AI to translate COBOL code to Java

by WeeklyAINews
0 comment

COBOL, or Frequent Enterprise Oriented Language, is likely one of the oldest programming languages in use, courting again to round 1959. It’s had stunning endurance; in response to a 2022 survey, there’s over 800 billion traces of COBOL in use on manufacturing programs, up from an estimated 220 billion in 2017.

However COBOL has a fame for being a tough-to-navigate, inefficient language. Why not migrate to a more moderen one? For giant organizations, it tends to be a posh and expensive proposition, given the small number of COBOL specialists on this planet. When the Commonwealth Financial institution of Australia replaced its core COBOL platform in 2012, it took 5 years and value over $700 million.

Seeking to current a brand new resolution to the issue of modernizing COBOL apps, IBM at present unveiled Code Assistant for IBM Z, which makes use of a code-generating AI mannequin to translate COBOL code into Java. Set to grow to be typically obtainable in This fall 2023, Code Assistant for IBM Z will enter preview throughout IBM’s TechXchange convention in Las Vegas early this September.

Code Assistant for IBM Z is designed to help companies in refactoring their mainframe apps, ideally whereas preserving efficiency and safety, in response to IBM Analysis chief scientist Ruchir Puri. Operating regionally in an on-premises configuration or within the cloud as a managed service, Code Assistant is powered by a code-generating mannequin, CodeNet, that may perceive not solely COBOL and Java but in addition round 80 totally different programming languages.

“IBM constructed a brand new, state-of-the-art generative AI code mannequin to remodel legacy COBOL applications to enterprise Java with a excessive diploma of naturalness within the generated code,” Puri instructed TechCrunch in an electronic mail interview. “Along with code transformation, Code Assistant helps the entire utility modernization life cycle and helps builders perceive, refactor, rework and validate the translated code in a contemporary structure.”

See also  Anthropic leads charge against AI bias and discrimination with new research

Puri says that CodeNet, which was educated with 1.5 trillion tokens and has 20 billion parameters, was engineered with a big context window — 32,000 tokens — to “seize the broader context” for “extra environment friendly COBOL to Java transformation.” Parameters are the components of a mannequin realized from historic coaching knowledge and primarily outline the talent of the mannequin on an issue, akin to producing textual content, whereas “tokens” symbolize uncooked textual content (e.g., “fan,” “tas” and “tic” for the phrase “improbable”). As for context window, it refers back to the textual content the mannequin considers earlier than producing further textual content.

There’s a lot of instruments, apps and providers to transform COBOL apps to Java syntax at present, a few of that are fully automated. Puri acknowledges this however makes the case that Code Assistant takes steps to keep away from sacrificing COBOL’s capabilities whereas delivering on decreasing prices and producing code that’s simple to take care of — in contrast to among the rival choices available on the market.

“IBM constructed the Code Assistant for IBM Z to have the ability to combine and match COBOL and Java providers,” Puri stated. “If the ‘perceive’ and ‘refactor’ capabilities of the system advocate {that a} given sub-service of the applying wants to remain in COBOL, it’ll be stored that method, and the opposite sub-services will probably be remodeled into Java.”

That’s to not recommend that Code Assistant is flawless. A current Stanford examine finds that software program engineers who use code-generating AI programs just like it usually tend to trigger vulnerabilities within the apps they develop. Certainly, Puri cautions towards deploying code produced by Code Assistant earlier than having it reviewed by human specialists.

See also  This AI can write its own code and help programmers

“Like all AI system, there could be distinctive utilization patterns of an enterprise’s COBOL utility that Code Assistant for IBM Z might not have mastered but,” Puri stated. “It’s important that the code is scanned with state-of-the-art vulnerability scanners to make sure code safety.”

Dangers apart, IBM little doubt sees instruments like Code Assistant as vital to its future development. Right this moment, about 84% of IBM’s mainframe clients run COBOL — largely clients within the monetary and authorities sectors. And whereas IBM’s mainframe division continues to be a big portion of its total enterprise, the corporate views the mainframe as a bridge to the expansive, profitable hybrid computing environments that it additionally hosts and facilitates.

IBM sees a future in broader code-generating AI instruments, as properly — intent on competing with apps like GitHub Copilot and Amazon CodeWhisperer. In Might, IBM launched fm.mannequin.code inside its Watsonx AI service, which powers Watson Code Assistant, permitting builders to generate code utilizing plain English prompts throughout applications, together with Purple Hat’s Ansible Lightspeed.

Source link

You may also like

logo

Welcome to our weekly AI News site, where we bring you the latest updates on artificial intelligence and its never-ending quest to take over the world! Yes, you heard it right – we’re not here to sugarcoat anything. Our tagline says it all: “because robots are taking over the world.”

Subscribe

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

© 2023 – All Right Reserved.