US Military uses AI to translate old C code to Rust
By MYBRANDBOOK
TRACTOR (Translating All C to Rust) is an initiative of DARPA, the research arm of the US Department of Defence, to translate legacy C code into Rust. The goal of this AI-driven project is to strengthen memory safety and fix bugs like buffer overflows that affect huge codebases. Improving memory safety in crucial systems is the aim.
C, while powerful, is notorious for its vulnerability to memory safety issues. This vulnerability opens the door for hackers to exploit software flaws, leading to security breaches. Rust, on the other hand, is designed with memory safety in mind, making it less susceptible to these attacks. DARPA hopes that by automating the translation process, they can drastically improve the security of critical software systems. Large language models (LLMs) and other machine learning techniques are being considered to achieve this goal.
In recent years, tech giants like Google and Microsoft have underscored the problems caused by memory safety bugs. They have advocated for programming languages other than C and C++ that don't necessitate manual memory management. This advocacy has resonated with the public sector, which houses a significant amount of legacy code. As a result, entities such as the White House and the US Cybersecurity and Infrastructure Security Agency (CISA) are promoting memory safe programming languages like Rust.
Despite opposition from those involved with C and C++ oversight, who argue that diligent application of ISO standards and testing tools can achieve comparable results without resorting to Rust, DARPA remains steadfast. The agency maintains that relying solely on bug-finding tools is insufficient. After more than 20 years of grappling with memory safety issues in C and C++, there is a consensus within the software engineering community about the need for more secure software.
DARPA's program manager for TRACTOR, Dan Wallach, explained the process of using the tool. Users can visit any of the LLM websites and interact with an AI chatbot to request a code translation. Wallach stated, "here's some C code, please translate it to safe idiomatic Rust code," indicating that users simply need to paste their C code and wait for the translated Rust output. The challenge lies in improving this automated translation process from C to Rust.
Rust, first released stably in 2015, has built-in memory safety and is suitable for low-level, performance-sensitive systems programming. Its characteristics and popularity have spurred initiatives like Prossimo, a non-profit Internet Research Group's project to rewrite critical libraries and code in Rust to mitigate security risks. Josh Aas, Executive Director of the Prossimo project, noted that the large amount of C code running in today's internet infrastructure makes translation tools attractive.
Ola Electric Faces Scrutiny By SEBI
Ola Electric Mobility Limited has received an administrative warning from...
Microsoft announces US $3bn investment to strengthen India's c
During his visit to India, Microsoft Chairman and CEO Satya Nadella has t...
Parliamentary panel pulls up IT ministry for underutilizing se
A parliamentary panel on Communications and IT has pulled up the MeitY fo...
GST Council likely to reduce tax on food delivery to 5%
The Goods and Services Tax (GST) Council is reportedly considering a prop...
LAVA INTERNATIONAL LTD.
ADITYA INFOTECH LTD.
TECHROUTES NETWORK PRIVATE LIMITED
DIGISOL SYSTEMS LTD.
Icons Of India : AMIT CHADHA
Amit Chadha serves as the CEO and Managing Director of L&T Technology ...
Icons Of India : GAUTAM ADANI CHAIRMAN ADANI GROUP
Gautam Adani is the Founder and Chairman of the Adani Group, which ran...
ICONS OF INDIA : ROSHNI NADAR MALHOTRA
Roshni Nadar Malhotra is the Chairperson of HCLTech, a leading global ...
DRDO - Defence Research and Development Organisation
DRDO responsible for the development of technology for use by the mili...
STPI - Software Technology Parks of India
STPI promotes and facilitates the growth of the IT and ITES industry i...
LIC - Life Insurance Corporation of India
LIC is the largest state-owned life insurance company in India...
Indian Tech Talent Excelling The Tech World - Steve Sanghi, Executive Chair, Microchip
Steve Sanghi, the Executive Chair of Microchip Technology, has been a ...
Indian Tech Talent Excelling The Tech World - Soni Jiandani, Co-Founder- Pensando Systems
Soni Jiandani, Co-Founder of Pensando Systems, is a tech visionary ren...
Indian Tech Talent Excelling The Tech World - Anirudh Devgan , President, Cadence Design
Anirudh Devgan, the Global President and CEO of Cadence Design Systems...