4 ms·
"“My goal is to eliminate every line of C and C++ from Microsoft by 2030,” Microsoft Distinguished Engineer Galen Hunt writes in a post on LinkedIn. “Our strate
by johndoe0815 9mo ago
"“My goal is to eliminate every line of C and C++ from Microsoft by 2030,” Microsoft Distinguished Engineer Galen Hunt writes in a post on LinkedIn. “Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases"
What can go wrong? Yikes...
- locknitpicker 9mo ago> What can go wrong? Yikes.. The post is clearly aimed at self-promotion. The guy is basically referring to mundane things like using transpilers to generate Rust from C. Those have been around for a few years now, such as C2Rust[1]. At best, this sort of project is looking for corporate backing to politically handle this sort of migration. At this point this sort of stunt is hardly technical, and instead it's something between a publicity stunt and managing technical debt. [1] https://c2rust.com/ https://c2rust.com/
- LeFantome 9mo agoI think it would be more interesting to more creatively rewrite functions or even modules around tests. C2Rust is not going to be very idiomatic.
- locknitpicker 9mo ago> C2Rust is not going to be very idiomatic. That's irrelevant when discussing migrating large volumes of code. The hard part is migrating the project to another tech stack and setup proper test coversge. After that point, nice-to-haves such as idiomatic code is treated as mundane maintenance work.