4 ms·
What are you talking about? You're talking about implementation. This has nothing to do with assembly at all. Assembly is not a magic language that offers insta
by ajxs 7y ago
What are you talking about? You're talking about implementation. This has nothing to do with assembly at all. Assembly is not a magic language that offers instant efficiency. 'Constant factor' is entirely irrelevant to this discussion. There's nothing stopping an engineer from implementing equally inefficient data structures/algorithms in assembler as they would in a higher-level language. It is true that if the engineer understands the problem domain very well, and the project requirements are amenable, the possibility certainly exists for them to solve the problem with highly efficient assembly. This is true for almost anything. However, it exists at the cost of extra development effort with no real guaranteed benefit.
- userbinator 7y agoThere's nothing stopping an engineer from implementing equally inefficient data structures/algorithms in assembler as they would in a higher-level language. ...except the additional complexity of doing so? If you have to write every single instruction, you start thinking more about whether you have to write each one. 'Constant factor' is entirely irrelevant to this discussion. It's entirely relevant to the real world.