why is it necessary to consider, when designing a program, the physical resources that might be needed? examples where appropriate. ?
- keerokLv 76 days ago
The program is electronic. It needs to run on something. That's the physical part.
- Charlie TunaLv 76 days ago
It is especially important when your goal is to distribute the software commercially;
you need to consider the audience (users) of the program and the minimum specs that your program needs to execute properly. Different users, different specs.
- SBR32277Lv 76 days ago
I write a lot of programs for small microcontrollers where some only have 2k of ram. It is easy to write a program requiring more than 2k of ram so you have to be mindful of variables that can eat up that memory quickly. Sometimes programs run CNC milling machines and you have to be mindful of how deep and how fast to do your cuts. If your milling machine is small and weak, you need to do shallower cuts to minimize the load on your bits. There are plenty of other things that require considerations of the physical assets available, where the goal should always be to do the most with the least. Not only does this conserve physical resources like your ram and cpu usage, but it makes it more efficient doing the same work at faster speeds because there are less lines of code to run.