[fpc-devel] An interesting thought... AI
jp at schulers.com
Thu Nov 10 20:34:23 CET 2022
This is an interesting idea indeed.
Compiler Optimization using Artificial Intelligence
https://arxiv.org/pdf/2110.09610.pdf - A Survey on Machine Learning
Techniques for Source Code Analysis
https://openreview.net/forum?id=SKat5ZX5RET - Self-Programming Artificial
Intelligence Using Code-Generating Language Models
The above links might give ideas for some googling.
On Thu, Nov 10, 2022 at 3:10 PM J. Gareth Moreton via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:
> Hi everyone,
> This has been something that has been on my mind for a while now, but
> with my increasingly more complex optimisations being developed for the
> Free Pascal Compiler and the code becoming an ever bigger spiderweb of
> conditions, it got me to start wondering... might compiler optimisation
> be a candidate for AI? Often I try to hand-optimise assembly language to
> get the same output in fewer cycles (and fewer bytes too if possible),
> and then see if I can program the compiler to match it. I can't hope to
> catch every possible optimisation though, and I wonder if using an AI in
> some way to develop more efficient machine code has ever been a serious
> contender for research. I have heard of stories like the Deepmind AI
> finding a faster way to multiply matrices, so it seems logical that it
> can improve instruction processes.
> This is probably a lazy question, but what would be a good set of
> resources when it comes to beginning machine learning, or at the very
> least building simple models? When it comes to hardware, I have a
> couple of 3060 Tis at my disposal for some parallel computation.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel