Is it time to retire C and C++ for Rust in new programs?

  • 📰 TheRegister
  • ⏱ Reading Time:
  • 31 sec. here
  • 2 min. at publisher
  • 📊 Quality Score:
  • News: 16%
  • Publisher: 61%

United Kingdom Headlines News

United Kingdom Latest News,United Kingdom Headlines

Mark Russinovich, Microsoft Azure CTO, thinks so

achieve guaranteed perfect type and memory safety in ISO C++Indeed, you could always write perfectly secure C and C++ code. It's just that it has never, ever been easy. Both languages make it much too easy to make memory errors. They include Invalid heap and stack memory access; memory leaks; mismatched memory allocation and deallocation; and uninitialized memory access.

These aren't just theoretical errors. They happen all the time. In 2019, Microsoft confessed that 70 percent of its Common Vulnerabilities and Exposures security problems had been caused by developers makingAs much as I like to make fun of Microsoft security, this problem is far from unique to Microsoft. Google's developers have found the same percentage of memory problems in its Chromium/Chrome web browser code.

That's why, years before Rust started making headlines, Google and Microsoft both started considering replacing C and C++ with Rust. Now Linux is embracing Rust as well.

 

Thank you for your comment. Your comment will be published after being reviewed.
Please try again later.

No.

Anything to get security first and by design back into the Microsoft ecosystem via a refactor/re-engineer of core code through migration to Rust would be too much to dream of. It could really change their business too, let's see though I'm not confident they have the appetite.

No. The answer is no.

I would read a piece on Rust vs C for embedded (not “we have a Linux board” embedded, but “we have a Cortex M0 with 8K RAM” embedded). Because heap / garbage collection is rarely a thing there.

We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

 /  🏆 67. in UK

United Kingdom Latest News, United Kingdom Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

Mark Lawrenson says he was axed by BBC because he was ‘65 and a white male’Mark Lawrenson: Ex-Liverpool and Preston defender and BBC pundit says he was axed from Football Focus because he was ‘65 and a white male’
Source: leponline - 🏆 50. / 63 Read more »

Alison Hammond Gets Quite The Surprise To Mark Huge This Morning Milestone'This is the best day of my life!'
Source: HuffPostUK - 🏆 108. / 51 Read more »

Mark Lawrenson's bitter, self-satisfied response to his BBC sacking shows why he had to goThe entitled moans of a man who breathed privileged air for 30 years and then blamed race and gender for his dismissal show exactly why the broadcaster is better off without him danielstorey85 Omg 😂😂🤣 let's think about those people who think the world owes them lots and dictates what everyone should think, do and believe!!!
Source: i newspaper - 🏆 8. / 89 Read more »

Mark Wright and Michelle Keegan finally move into megamansion - and wowMark Wright and Michelle Keegan house: The former TOWIE star and Brassic actress have been doing up their Essex home since
Source: hellomag - 🏆 24. / 68 Read more »

Michelle Keegan and Mark Wright leave fans speechless with luxurious bathroomAre you planning to install a sauna in your bathroom? 🤔 Well Michelle Keegan and Mark Wright already have and it looks posh! 🛁 Right in the middle of a cost of living crisis, Metro. Great timing.
Source: MetroUK - 🏆 13. / 82 Read more »

Beautiful picture of young Queen released to mark end of mourning periodMembers of the Royal family will return to their duties today, while flags across the UK will no longer be at half mast.
Source: MetroUK - 🏆 13. / 82 Read more »