Hacker News new | ask | show | jobs
by spunker540 977 days ago
Some percent of python code I’ve written code be rewritten as JavaScript code at the function-level.
1 comments

Meta's "Transcoders" or whatever they changed the name to demonstrate that. However, if we want perfectly semantically equivalent functions, as soon as you add two numbers, then Python -> JS is impossible. The best we can do is approximately translate the behavior.