My first project in Rust was replicating this paper because i wanted to learn rust but needed a project to work on because i hate learning from tutorials.
Of course, I had intended to go the OOP route because that’s what I was used to and this was my first time using rust… that was a bit of a headache. But I did eventually get it working and could watch the weights change in real time. (It was super slow of course but still cool)
Anyway I’ve started making a much much faster version by using a queue to hold neurons and synapses that need updating instead of running through all of them every loop.
It’s like lightning fast compared to the old version; I’m very proud of that. However, my code is an absolute mess and is now filled with
Vec<Arc<Mutex<>>>
And I can’t implement the inhibition in a lazy way like I did the first time, so that’s not fun…
My first project in Rust was replicating this paper because i wanted to learn rust but needed a project to work on because i hate learning from tutorials.
Of course, I had intended to go the OOP route because that’s what I was used to and this was my first time using rust… that was a bit of a headache. But I did eventually get it working and could watch the weights change in real time. (It was super slow of course but still cool)
Anyway I’ve started making a much much faster version by using a queue to hold neurons and synapses that need updating instead of running through all of them every loop.
It’s like lightning fast compared to the old version; I’m very proud of that. However, my code is an absolute mess and is now filled with
Vec<Arc<Mutex<>>>And I can’t implement the inhibition in a lazy way like I did the first time, so that’s not fun…