Yep. Effectively you’re just writing code in a very restricted subset of assembly language.
A more interesting exercise would be to write a program which would output such code with certain (I suspect, limited) guarantees of optimality .
Say a number (below 1 billion), I’ll give you (optimal) code.
You had a genetic algorithm at some point—is that what you are using?
I wouldn’t call it genetic. But yes, I have an algorithm to solve this kind of problems.
Yep. Effectively you’re just writing code in a very restricted subset of assembly language.
A more interesting exercise would be to write a program which would output such code with certain (I suspect, limited) guarantees of optimality .
Say a number (below 1 billion), I’ll give you (optimal) code.
You had a genetic algorithm at some point—is that what you are using?
I wouldn’t call it genetic. But yes, I have an algorithm to solve this kind of problems.