[fpc-devel] An interesting thought... AI
Joao Schuler
jp at schulers.com
Thu Nov 10 20:34:23 CET 2022
This is an interesting idea indeed.
https://www.researchgate.net/publication/343322212_Automatic_Code_Optimization_With_Machine_Learning_And_Combinatorial_Optimization
https://www.ijresm.com/Vol.2_2019/Vol2_Iss4_April19/IJRESM_V2_I4_149.pdf -
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.
>
> Kit
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20221110/9121aed3/attachment.htm>
More information about the fpc-devel
mailing list