if existing implementations are there, translating languages, when the model has a good set of inputs from both languages and english is trivial
i had claude 3.7 do this from javascript code to go. it also was pretty much perfect, it made one confusion that was in the original code it translated from. if the code was well formed and the names were meaningful, i would expect that even older generation models could do a sufficient job that it would execute and produce the expected results within a few queries to the LLM.
good luck getting it to design something completely new with no existing examples.
we are not screwed, you are just a pessimist, and believe the propaganda that we are going to be replaced.
spoiler alert: computers don't have a reason to participate in a market and computers can't, without the biological imperative of survival be legitimately creative.
if you had actually worked with codebases that have been largely generated by LLM you would know that the first thing that is going to go out the window is security. this requires the creativity of programmers to come up with both ways to break it, and ways to mitigate the ways to break it.
since the machine has no way to develop creativity, we are not screwed. we just need to up our game and use these tools to spend less time on things that they can do well, and focus on what we can do well.