this post was submitted on 25 Dec 2025
111 points (90.5% liked)

Programming

24097 readers
182 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

cross-posted from: https://sh.itjust.works/post/52190045

Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030

you are viewing a single comment's thread
view the rest of the comments
[–] HexesofVexes@lemmy.world 15 points 4 days ago (9 children)

The rust part, if done well, would be a good step.

Then again, coding in rust is pain, and given how young it is AI is unlikely to manage well with it, and there isn't the technical ability in rust present to fix what breaks.

[–] leftzero@lemmy.dbzer0.com 7 points 3 days ago (1 children)

The rust part, if done well, would be a good step.

We're talking machine translating the whole codebase from c to rust like one would translate a book from one language to another, here (i.e., without the machine actually understanding a single word, much less long groups of them).

The result will basically be something like this:

unsafe {
 //insert the entire codebase here,
 //mangled beyond recognition
}
[–] reabsorbthelight@lemmy.world 2 points 3 days ago

They should honestly just wrapper the majority of the code base in rust unsafes and then slowly very slowly migrate sections of the code to rust. This is the right way to do it imo

Will they do that? Nope.

load more comments (7 replies)