Hello everyone.
For a few Months I have been working on making Neural Networks more useable in AHK.
AHK is a bit too slow for this kind of calculations. Normally C/C++ or something similar is used. (Good libraries make use of the GPU)
The first requirement for that is being able to calculate faster when it comes to Matrices. (Neural Networks are mainly that type of calculations).
So I decided to write a few C functions and use them in AHK - but how would I use them in AHK?
Normally you would use a dll here - however that is kind of unwieldy. So I decided to go with MCode.
As it turns out the current MCode functions and compilers were not capable of correctly compiling a MCode function that I could use for this purpose.
So I had to write a new MCode compiler and a new MCode function: https://github.com/nnnik/MCode-Ex
This took a really long time and Im still not finished.
One of the biggest things that is still missing is the ability to compile for 64 bit and it will take a while before that is implemented correctly.
However I have already successfully created this FastMatrix library using it.
Any kind of documntation can be found on github.
I look forward to your questions and comments.
Update 3
Update 2
Update 1