If a human can rewrite code from one language to do the same thing in another language, it's definitely possible to automate. But I acknowledge that translation will be very difficult to achieve. Saying something is impossible because it's very hard is ultimately self-limiting.
-
-
MATLAB, with it's closed ecosystem is probably a better potential target than, say, PHP. It wouldn't be easy, it wouldn't be cheap, but it's certainly not insurmountable.
-
Years ago I wrote a PHP to python translator, which did the syntax translation but it was the mapping of the standard library that killed it.
-
I really don't think it's a good idea to market a MATLAB to Python translator to scientists. They/we already write really bad code... the last thing we need is code they/we can't even read!
-
Snark asside, this is worth an hour of your time if you can spare it: https://youtu.be/AqZNebWoqnc What happens if you play dodgy implementations from a dodgy spec against each other. When you hear the words "Internet Explorer picked the one in the middle!" you've reached peak lulz.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.