• 1 Post
  • 346 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle













  • Basically the variables like “greeting” in the program occupy memory locations, like “location 3”. Symbol resolution is when the compiler sees a name and figures out the associated location. Normally that is done with something like a Python dictionary (in the old days you’d have to implement the dictionary yourself, which was an exercise in its own right).

    Slightly complicating the python example, there can be local and global variables in separate locations but with the same name. So the compiler has to figure out from context which one you meant. That too is an exercise.






  • Things just weren’t like that then. Otherwise all PC peripherals would be locked down too, so no device drivers. That was already a problem with cheap windows crap. But the better stuff was documented.

    Maybe there would be no Linux but that isn’t as bad as it sounds, since BSD Unix was being pried loose at the time, plus there were other kernels that had potential. And the consumer PCs we use now weren’t really foreseen. We expected to run on workstation class hardware that was more serious (though more expensive) than PCs were at the time. They would have stayed less locked down.

    Asded: PCs were an interesting target because there was a de facto open hardware standard, making the “PC compatible” industry possible. So again, without that, we would have used different hardware.