3 ms·
I wouldn't think that a tool for transpiling Python to Go would be harder than creating a whole new runtime. Most of the work is already done; you can get the c
by falcolas 10y ago
I wouldn't think that a tool for transpiling Python to Go would be harder than creating a whole new runtime. Most of the work is already done; you can get the compiled ASTs directly out of Python itself.
Of course, if it started out as a "this seems like a cool project", that skews the "a is more efficient than b" ratio significantly.
- jerf 10y agoSorry, I think my post may have been excessively specific; I've edited it to say "writing a new Python interpreter/compiler/runtime" instead of just "writing a new Python interpreter". I was trying to make a generic point, not one specifically about a Python interpreter. (At least, if I'm interpreting your reply correctly.)
- throwaway91111 10y agoI mean, you can get something out of transpilers--not typically maintainable code.