Re:Most popular Python packages now support Python 3
by erik_seaberg on Saturday December 02, 2017 @05:57PM
(#15834718)
If a hundred people need to write that code anew a thousand times, somebody's going to screw it up. Widely used and heavily tested code is how we get a more powerful foundation to build on.
If the answer is to generate the Go, then we should be having human beings focus on the more powerful language controlling that generator.
Even if you use the most obvious, naive code to implement fundamental set operation in Go, the resulting program is probably still faster than whatever you're going to write in Python.
In the absolute worst case, you need to generate an extra copy to use with some other type. Mildly annoying for sure, but easily dealt with.