I'm putting this in DevOps for archiving, but it's for the main board also... many of you have comp sci backgrounds, though I have taken a lot of comp sci courses (my degrees are in CIS) I don't know the answer to this question: how do interpreted languages like Python and PERL handle the step after compilation where the object code needs to be linked with and libraries and subprograms needed? It would seem that this would make interpreted vs compiled languages unfeasibly slow... too slow for ... moreI'm putting this in DevOps for archiving, but it's for the main board also... many of you have comp sci backgrounds, though I have taken a lot of comp sci courses (my degrees are in CIS) I don't know the answer to this question: how do interpreted languages like Python and PERL handle the step after compilation where the object code needs to be linked with and libraries and subprograms needed? It would seem that this would make interpreted vs compiled languages unfeasibly slow... too slow for something like Firefox to be written in Python. I know interpreters have gotten a lot faster, but fast enough to ostensibly skip the link-edit step?
cameron seayIt absolutely does, and if I had thought about it a little I would have had part of the answer in my head. I'm fairly clear on how the JVM works and it's pretty obvious that they have the logic of linking worked out in the Java compile process. What stumps me is that Python is not compiled; you just run it. But your answer gives me a clue in that somehow Python must do some pre-processing at run time (the Python interpreter is fast, I know that). It would only take a few cycles to run throug... moreIt absolutely does, and if I had thought about it a little I would have had part of the answer in my head. I'm fairly clear on how the JVM works and it's pretty obvious that they have the logic of linking worked out in the Java compile process. What stumps me is that Python is not compiled; you just run it. But your answer gives me a clue in that somehow Python must do some pre-processing at run time (the Python interpreter is fast, I know that). It would only take a few cycles to run through the code before execution and see what it needs. I'll go through the docs you provided.
I'm really going to like this Board. Finbar is on to something here. Thanks for the time you spent on this, man.