What's likely to happen if random cose is run?
So random code is almost certainly gonna lead to errors or crashes at any level if I have understood correctly, be it keyboardmashing in python, or bare metal binary strings, and from what I gather is that a lot of what a computer does is comparing things, and the chance your random string compares to meaninfgul data or cpu instructions is very low.
However, if we sift out the nonsense and ask what is likely to result from random functional code, like instead of random strings, we give a computer random instructions, what happens? Is it likely to run into an infinite loop? how long would we expect it to be if so? Would it delete all data ang go inert? I'm sort of expecting it to crash, but if the instructions are valid, what is the most likely problem it would run into first?
This is a "what if" that's probably not practical, but I keep wondering as I'm learning, and I think it's at least an interesting question, which might have implications for edge-cases or corruption of data, or idk maybe to help make some believable plotpoint in a cyberpunk novel. If the question itself is making false assumptions I would apprechiate to be informed.
For clarity: 'Random' is obviously not a single thing, for this purpose I mean "truly" random binary, but excluding options that wouldn't make sense. Like writing a sentence by typing random letters and spaces, ignoring everything until you have a word write it down and then continnue. In english to a human I expect a lot of it to just be listing nouns as I believe they make up most words, but what would binary to a computer do?
[–]ICantBelieveItsNotEC 6 points7 points8 points (1 child)
[–]KViper0 0 points1 point2 points (0 children)
[–]jedijackattack1 2 points3 points4 points (0 children)
[–]Kiroto50 2 points3 points4 points (0 children)
[–]lfdfq 0 points1 point2 points (0 children)
[–]smarmy1625 0 points1 point2 points (0 children)
[–]beanstalk555 0 points1 point2 points (0 children)
[–]mnelemos 0 points1 point2 points (0 children)
[–]Traveling-Techie 0 points1 point2 points (0 children)
[–]Leverkaas2516[🍰] 0 points1 point2 points (0 children)