“Our strategy is to combine AI and Algorithms to rewrite Microsoft’s largest codebases,” he added. “Our North Star is ‘1 engineer, 1 month, 1 million lines of code.’”
Easy to achieve if the ai just wraps all code in an unsafe block ^^
Honestly migrating from one language to another night actually be one of the best use cases for AI, if you don’t change the architecture much it should be doable especially if it’s a well tested codebase.
Maybe if the languages are very similar. If you convert C to Rust using AI it might work well but will most definitely not leverage the unique features of Rust. Might as well stay with C in that case. Migrating from an object oriented language like C++ to a language with another paradigm (such as Rust) will most likely produce a burning pile of shit
That’s funny because using unsafe might be an hint that Rust is not the right tool for the job. Yet we have rust in the kernel, rust coreutils… I just can’t wrap my head arout it, yet.
Easy to achieve if the ai just wraps all code in an
unsafeblock ^^Honestly migrating from one language to another night actually be one of the best use cases for AI, if you don’t change the architecture much it should be doable especially if it’s a well tested codebase.
Maybe if the languages are very similar. If you convert C to Rust using AI it might work well but will most definitely not leverage the unique features of Rust. Might as well stay with C in that case. Migrating from an object oriented language like C++ to a language with another paradigm (such as Rust) will most likely produce a burning pile of shit
So not for microsoft products then.
In theory.
But there’s no doubt all their tests will also be shat out from an LLM.
That’s funny because using unsafe might be an hint that Rust is not the right tool for the job. Yet we have rust in the kernel, rust coreutils… I just can’t wrap my head arout it, yet.
You shouldn’t have said that. Now the rust zealots are going to come for you.
Got downvoted, here they come…
Unsafe is expected and necessary in certain situations. Using other languages doesn’t change that fact.
It’s talked about in the docs