▲ 239 ▼ Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030 (www.theregister.com) submitted 10 months ago by hal_5700X@sh.itjust.works to c/technology@lemmy.world 87 comments fedilink hide all child comments
[–] MonkderVierte@lemmy.zip 30 points 10 months ago (7 children) reimplement … with help from AI Meaning, it will have more bugs and less features after. permalink fedilink source hideshow 7 child comments replies: [–] spicehoarder@lemmy.zip 6 points 10 months ago (6 children) I tried vibe coding a rust project and it was total ass. permalink fedilink source parent hideshow 6 child comments replies: [–] kadu@scribe.disroot.org 11 points 10 months ago (5 children) AI doesn't reason, so it heavily depends on what's been presented in the training set. Python is everywhere and most importantly whatever you can think exists in Python, from critical bioinformatics tools to somebody learning programming from the first time and posting their prime number finder or sorting algorithm online. Rust? Not at that point yet, so the AI fails permalink fedilink source parent hideshow 5 child comments replies: [–] spicehoarder@lemmy.zip 5 points 10 months ago (2 children) Yeah, for everything I've seen it's just a classical case of overfitment. I only tried it because it was recommended to me by a coworker. It failed at problem solving and choosing comparable dependencies. Completely jarring because like you said, it could likely do it in JS and Python. But clearly not Rust. I often wonder if the code you get from AI is +85% stolen verbatim. permalink fedilink source parent hideshow 2 child comments replies: [–] ctrl_alt_esc@lemmy.ml 2 points 10 months ago JS and Python code is equally garbage. permalink fedilink source parent [–] dantheclamman@lemmy.world 1 point 10 months ago In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don't exist permalink fedilink source parent [–] cheesybuddha@lemmy.world 3 points 10 months ago (1 child) I dunno man, I tried coding a simply http listener with an LLM one time in python (a language I'm unfamiliar with). Just something to sit on a port, listen for a request, and run a script. I ended up spending more time troubleshooting the maybe two dozen lines of code than I would have spent just looking up a tutorial online. permalink fedilink source parent hideshow 1 child comment replies: [–] spicehoarder@lemmy.zip 2 points 10 months ago My experience exactly. We gotta just read the docs. permalink fedilink source parent
[–] spicehoarder@lemmy.zip 6 points 10 months ago (6 children) I tried vibe coding a rust project and it was total ass. permalink fedilink source parent hideshow 6 child comments replies: [–] kadu@scribe.disroot.org 11 points 10 months ago (5 children) AI doesn't reason, so it heavily depends on what's been presented in the training set. Python is everywhere and most importantly whatever you can think exists in Python, from critical bioinformatics tools to somebody learning programming from the first time and posting their prime number finder or sorting algorithm online. Rust? Not at that point yet, so the AI fails permalink fedilink source parent hideshow 5 child comments replies: [–] spicehoarder@lemmy.zip 5 points 10 months ago (2 children) Yeah, for everything I've seen it's just a classical case of overfitment. I only tried it because it was recommended to me by a coworker. It failed at problem solving and choosing comparable dependencies. Completely jarring because like you said, it could likely do it in JS and Python. But clearly not Rust. I often wonder if the code you get from AI is +85% stolen verbatim. permalink fedilink source parent hideshow 2 child comments replies: [–] ctrl_alt_esc@lemmy.ml 2 points 10 months ago JS and Python code is equally garbage. permalink fedilink source parent [–] dantheclamman@lemmy.world 1 point 10 months ago In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don't exist permalink fedilink source parent [–] cheesybuddha@lemmy.world 3 points 10 months ago (1 child) I dunno man, I tried coding a simply http listener with an LLM one time in python (a language I'm unfamiliar with). Just something to sit on a port, listen for a request, and run a script. I ended up spending more time troubleshooting the maybe two dozen lines of code than I would have spent just looking up a tutorial online. permalink fedilink source parent hideshow 1 child comment replies: [–] spicehoarder@lemmy.zip 2 points 10 months ago My experience exactly. We gotta just read the docs. permalink fedilink source parent
[–] kadu@scribe.disroot.org 11 points 10 months ago (5 children) AI doesn't reason, so it heavily depends on what's been presented in the training set. Python is everywhere and most importantly whatever you can think exists in Python, from critical bioinformatics tools to somebody learning programming from the first time and posting their prime number finder or sorting algorithm online. Rust? Not at that point yet, so the AI fails permalink fedilink source parent hideshow 5 child comments replies: [–] spicehoarder@lemmy.zip 5 points 10 months ago (2 children) Yeah, for everything I've seen it's just a classical case of overfitment. I only tried it because it was recommended to me by a coworker. It failed at problem solving and choosing comparable dependencies. Completely jarring because like you said, it could likely do it in JS and Python. But clearly not Rust. I often wonder if the code you get from AI is +85% stolen verbatim. permalink fedilink source parent hideshow 2 child comments replies: [–] ctrl_alt_esc@lemmy.ml 2 points 10 months ago JS and Python code is equally garbage. permalink fedilink source parent [–] dantheclamman@lemmy.world 1 point 10 months ago In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don't exist permalink fedilink source parent [–] cheesybuddha@lemmy.world 3 points 10 months ago (1 child) I dunno man, I tried coding a simply http listener with an LLM one time in python (a language I'm unfamiliar with). Just something to sit on a port, listen for a request, and run a script. I ended up spending more time troubleshooting the maybe two dozen lines of code than I would have spent just looking up a tutorial online. permalink fedilink source parent hideshow 1 child comment replies: [–] spicehoarder@lemmy.zip 2 points 10 months ago My experience exactly. We gotta just read the docs. permalink fedilink source parent
[–] spicehoarder@lemmy.zip 5 points 10 months ago (2 children) Yeah, for everything I've seen it's just a classical case of overfitment. I only tried it because it was recommended to me by a coworker. It failed at problem solving and choosing comparable dependencies. Completely jarring because like you said, it could likely do it in JS and Python. But clearly not Rust. I often wonder if the code you get from AI is +85% stolen verbatim. permalink fedilink source parent hideshow 2 child comments replies: [–] ctrl_alt_esc@lemmy.ml 2 points 10 months ago JS and Python code is equally garbage. permalink fedilink source parent [–] dantheclamman@lemmy.world 1 point 10 months ago In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don't exist permalink fedilink source parent
[–] ctrl_alt_esc@lemmy.ml 2 points 10 months ago JS and Python code is equally garbage. permalink fedilink source parent
[–] dantheclamman@lemmy.world 1 point 10 months ago In Python it can work but sometimes with crazy inefficient methods incorporated. In obscure geospatial stuff it often loses the plot. Still occasionally recommends functions that don't exist permalink fedilink source parent
[–] cheesybuddha@lemmy.world 3 points 10 months ago (1 child) I dunno man, I tried coding a simply http listener with an LLM one time in python (a language I'm unfamiliar with). Just something to sit on a port, listen for a request, and run a script. I ended up spending more time troubleshooting the maybe two dozen lines of code than I would have spent just looking up a tutorial online. permalink fedilink source parent hideshow 1 child comment replies: [–] spicehoarder@lemmy.zip 2 points 10 months ago My experience exactly. We gotta just read the docs. permalink fedilink source parent
[–] spicehoarder@lemmy.zip 2 points 10 months ago My experience exactly. We gotta just read the docs. permalink fedilink source parent