r/AskComputerScience • u/KING-NULL • Nov 09 '25
If some programming languages are faster than others, why can't compilers translate into the faster language to make the code be as fast as if it was programed in the faster one?
My guess is that doing so would require knowing information that can't be directly inferred from the code, for example, the specific type that a variable will handle
113
Upvotes
View all comments
Show parent comment
2
u/nekoeuge Nov 10 '25
Am I allowed to import anything from pip? If not, what am I allowed to import?