anarchaos
MModular
•Created by anarchaos on 5/21/2024 in #questions
Mojo for Evolutionary Algorithms
hey everyone! I'm currently working on a semester project comparing the performance of evolutionary algorithms in Mojo vs python, which I plan to expand into my bachelor's thesis (if I'm able to finish it). However, I'm struggling to achieve the expected performance gains in Mojo due to some challenges with list comprehensions, creating lists of lists, and using random effectively etc.
as a bachelor student, I'm quite unsure whether I should keep trying to figure out how to optimize performance in Mojo or find a new idea before it's too late. I'm curious if it's well suited for evolutionary algorithms and whether the performance gains I'm seeking are achievable without excessive difficulty.
any advice on that matter would help me a lot
4 replies