-
yanmaani
forgive my crackpot theory here, but
-
yanmaani
in randomx, all data is valid code, right
-
yanmaani
genetic algorithms work by taking data and combinining it
-
yanmaani
say you have a function that computes some difficult mathematical function
-
yanmaani
inputs go in input registers, outputs go in output registers
-
yanmaani
goal is to optimize it
-
yanmaani
could you do a genetic algorithm that breeds the randomx instruction sequences with each other?
-
gingeropolous
sounds possible sure
-
binaryFate
A genetic algorithm would need to work on the input data to randomx (block header, variable part mostly the nonce), not the instructions resulting from that input
-
binaryFate
And generally the idea behind evolutionnary algorithms is that two closely-related sets of input data will produce closely-enough related fitness when evaluated
-
binaryFate
So for instance if you have a good parent A and a good parent B, you can combine them and have some reason to think that their offspring is also of interesting quality, and not just randomly bad like any random solution
-
binaryFate
That doesn't hold true at all for common hash functions, since one of the design objectives of such functions is that the output is "unpredictable" from the input, so there is no usable correlation between input and output.
-
binaryFate
You change one bit only to your input and the new output is not only completely different but also (hopefully) unpredictable from the previous output
-
binaryFate
That also holds true for randomx so I don't see how that would work unless some structure in the search space becomes exploitable
-
yanmaani
binaryFate: No, why? Couldn't you just work on the uncompiled instructions?
-
hyc
and keeping the input unchanged?
-
hyc
-
sech1
they're running out of nanometers already, only 2 left...
-
hyc
heh
-
moneromooo
Common misconception. You don't have to buy a whole nanometer, you can buy fractional parts of it, so if the price of a nanometer goes beyond what you can afford, you can buy 0.1 nanometer for example.
-
moneromooo
Wait, wrong pattern match ?
-
hyc
seems like 2nm will be the limit for silicon. after that will need a new chemistry, maybe graphene
-
binaryFate
yanmaani: You can play with instructions but you wouldn't know which nonce would produce them
-
sech1
hyc so perfect time to tune RandomX parameters is when 2nm chips come out from all major chip makers
-
hyc
sounds right to me
-
sech1
Moore's law is dead
-
Inge-
moneromooo: my wife will not be happy with 1 nm
-
yanmaani
hyc: input becomes whatever the input to your function is. if you want to approximate "f(float, float, int) -> int, float", just start off by loading the inputs into say float registers 1 and 2, and integer regiser 1
-
yanmaani
and let the outputs end up in some other specified register
-
yanmaani
binaryFate: correct. goal is just to find instructions to generate a pure function