|
|
|
|
|
by eru
606 days ago
|
|
Funny enough, depending on your exact definition of 'algorithm' either essentially everything you can do on a computer is an algorithm or there some weird and annoying exceptions. For example many definitions include the requirement that an algorithm has to terminate for every input. And I suspect that there are probably some bugs lurking somewhere in the HN codebase that make it go into the occasional infinite loop. So technically it's not an algorithm by definition. (And even weirder, because I just suspect it might have those bugs, but I don't know for sure, I have to admit that I don't know whether HN is powered by an algorithm.) I agree with you that for practical definitions we can go by a definition that's essentially: 'by algorithm we just mean "computer program", but we want to focus on the abstract things it's doing, and not details of the concrete implementation.' |
|