For computer architecture and assembly language course, I along with Musab Bin Majid, Umama Muhammad and Muhammad Asad Piracha worked on an N-body simulation. First it was implemented in python using a naive approach, it wasn't simple even in python but we got it worked out. Then came the real part, converting it into RISC-V assembly and then vectorizing most of the loops which after quite some time, worked. A lot of debugging, so many registers that we kept forgetting which one was for what purpose. We had to comment each and every line. The result... Much faster execution and easier to understand code. Now we move on to the hardest part; converting the Barnes-Hut algorithm which was made using the OctTree into assembly but first we will have to strip down the existing python file to basic simplistic syntax. Lets see where this leads us. #RISCV #Assembly #Python
Amazing, good to see a unique and non-trivial project.
This is really impressive. Gives me some inspiration for my own endeavours
So cool!!
Looks nice!